1x
003542
2019-08-30

Transferring Node Field via COM Interface

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()

Author

Thomas handles technical inquiries about the software in Customer Support. He reliably familiarizes himself with various topics and develops appropriate solutions.



;