create_object_list#
- dlubal.api.rsection.Application.create_object_list(self, objs, model_id=None)#
Creates a list of objects in the model.
Example
lst = [
rsection.structure_core.Material(
no=1,
name="S450 | EN 1993-1-1:2005-05",
),
rsection.structure_core.Section(
no=1,
material=1, name="IPN 300",
),
rsection.structure_core.Thickness(
no=1,
material=1,
uniform_thickness=0.008,
assigned_to_surfaces=[1,6,7,8,9],
),
]
rsection_app.create_object_list(lst)
var structure = new List<IMessage> {
new rsection.StructureCore.Material{
Name="S235"
},
new rsection.StructureCore.Section{
Name="HE 300 A",
Material=1,
},
new rsection.StructureCore.Node{
No=1,
Coordinate1=0,
},
};
await rsection_app.create_object_list(structure);