update_object_list#
- dlubal.api.rsection.Application.update_object_list(self, objs, model_id=None)#
Updates a list of objects in the model.
Example
rsection_app.update_object_list(
[
rsection.structure_core.Node(no=1, coordinate_1=1, coordinate_2=5),
rsection.structure_core.Line(no=1, definition_nodes=[1,2]),
]
)
var updated_list = new List<IMessage> {
new rsection.StructureCore.Node{
No = 1,
Coordinate1 = 1,
Coordinate2 = 5
},
new rsection.StructureCore.Line{
No = 1,
DefinitionNodes = { 1, 2 }
},
};
await rsection_app.update_object_list(updated_list);