create_object_list#

dlubal.api.rfem.Application.create_object_list(self, objs, model_id=None)#

Creates a list of objects in the model.

Parameters:
  • objs (list[obj]) – A list of objects to be created.

  • model_id (ModelId | None) – Unique identifier of the model. If None, the active model is used.

Returns:

None

Method Type: Core


Usage

objects_to_create = [
    rfem.structure_core.Material(
        no=1,
        name="S235",
    ),
    rfem.structure_core.Section(
        no=1,
        material=1,
        name="IPE 300",
    ),
    rfem.structure_core.Node(
        no=1,
        coordinate_1=1.5
    ),
]
rfem_app.create_object_list(objects_to_create)