create_object_list#

dlubal.api.rstab.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. Refer to the Model for available objects.

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

Returns:

None


Example

structure = [
    rstab.structure_core.Material(
        no=1,
        name="S235",
        ),
    rstab.structure_core.Section(
        no=1,
        name="HE 300 A",
        material=1,
        ),
    rstab.structure_core.Node(
        no=1,
        coordinate_1=1,
        ),
]
rstab_app.create_object_list(structure)