New

FAQ 003542 EN-US

08/30/2019

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

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

Dim nodes (0 to 2) as RFEM5.Node

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

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

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