How to create an imperfection via the COM interface?

Answer

An imperfection is considered a load and is transferred via the interface of the load case. Provided that the interface to the model has already been imported, the interface to the loads (ILoads) followed by the interface to load case 1 (ILoadCase) will subsequently be imported, if it has already been created before:

        '   set loadcases
        Dim iLoads As iLoads
        Set iLoads = model.GetLoads
        
        '   get load case
        Dim iLc1 As ILoadCase
        Set iLc1 = iLoads.GetLoadCase(1, AtNo)
        
        '   define imperfection
        Dim imperf As Imperfection
        imperf.Comment = "test"
        imperf.Direction = LocalZType
        imperf.Inclination = 200
        imperf.no = 1
        imperf.ObjectList = 1
        imperf.Precamber = 300
        imperf.PrecamberActivity = ActivityAccording_EN_1993_1_1
        
        '   set imperfection
        iLc1.PrepareModification
        iLc1.SetImperfection imperf
        iLc1.FinishModification

The data of the imperfection is then filled out first, here for member 1, and then transferred within a Prepare-/FinishModification block of the load case Interfaces.

Keywords

COM Imperfection Precamber Inclination

Downloads

Contact us

Contact Dlubal Software

Did you find your question?
If not, contact us via our free e-mail, chat, or forum support, or send us your question via the online form.

(267) 702-2815

info-us@dlubal.com

RFEM Main Program
RFEM 5.xx

Main Program

Structural engineering software for finite element analysis (FEA) of planar and spatial structural systems consisting of plates, walls, shells, members (beams), solids and contact elements

Price of First License
3,540.00 USD
RSTAB Main Program
RSTAB 8.xx

Main Program

The structural engineering software for design of frame, beam and truss structures, performing linear and nonlinear calculations of internal forces, deformations, and support reactions

Price of First License
2,550.00 USD
RFEM Other
RF-COM 5.xx

Add-on Module

Programmable interface (API) based on the COM technology

Price of First License
580.00 USD
RSTAB Other
RS-COM 8.xx

Add-on Module

Programmable interface (API) based on the COM technology

Price of First License
580.00 USD