delete_object_list#
- dlubal.api.rsection.Application.delete_object_list(self, objs, model_id=None)#
Deletes a list of objects from the model.
Example
rsection_app.delete_object_list(
[
rsection.structure_core.Material(no=1),
rsection.structure_core.Material(no=2),
]
)
var deleteList = new List<IMessage>
{
new rsection.StructureCore.Material{No = 1},
new rsection.StructureCore.Material{No = 2}
};
await rsectionApp.delete_object_list(deleteList);
Tip
The object definition for the delete_object_list function only requires the object number.