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. 
- model_id (ModelId | None) – Unique identifier of the model. If None, the active model is used. 
 
- Returns:
- None 
 
Method Type: Core
Usage
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)
var structure = new List<IMessage> {
    new rstab.StructureCore.Material{
        No=1,
        Name="S235",
    },
    new rstab.StructureCore.Section{
        Name="HE 300 A",
        Material=1,
    },
    new rstab.StructureCore.Node{
        No=1,
        Coordinate1=1,
    },
};
await rstab_app.create_object_list(structure);