How can I transfer a field of nodes instead of just a single node via the COM interface in VBA?

Answer

To transfer several elements, you have to create a field (array) in VBA first:

Dim nodes(0 to 2) as RFEM5.Node

Then, you can use the method IModelData.SetNodes() to transfer all nodes to the field (here, three elements 0,1,2) at once.

These methods are also available for the following structural elements, for example:

IModelData.SetLines()
IModelData.SetMembers()
IModelData.SetSurfaces()

Keywords

COM Several elements Nodes Lines Members Surfaces SetNode SetLine SetMember SetSurface

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