create_object_list#

dlubal.api.rfem.Application.create_object_list(self, objs: list, model_id: ModelId | None = None)#

Creates a list of objects in the model.

Parameters:
  • objs (list[obj]) – A list of objects to be created. Refer to the Model for available objects.

  • model_id (ModelId | None) – Unique identifier of the model.

Returns:

None


Example

lst = [
    rfem.structure_core.Material(
        no=1,
        name="S450 | EN 1993-1-1:2005-05",
        ),
    rfem.structure_core.Section(
        no=1,
        material=1, name="IPN 300",
        ),
    rfem.structure_core.Thickness(
        no=1,
        material=1,
        uniform_thickness=0.008,
        assigned_to_surfaces=[1,6,7,8,9],
        ),
]
rfem_app.create_object_list(lst)