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.
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)
var structure = new List<IMessage> {
new rfem.StructureCore.Material{
Name="S235"
},
new rfem.StructureCore.Section{
Name="HE 300 A",
Material=1,
},
new rfem.StructureCore.Node{
No=1,
Coordinate1=0,
},
};
await rfem_app.create_object_list(structure);