delete_object_list#
- dlubal.api.rstab.Application.delete_object_list(self, objs, model_id=None)#
Deletes a list of objects from the model.
- Parameters:
objs (list[obj]) – A list of objects to be deleted.
model_id (ModelId | None) – Unique identifier of the model. If None, the active model is used.
- Returns:
None
Method Type: Core
Usage
rstab_app.delete_object_list(
[
rstab.structure_core.Material(no=1),
rstab.structure_core.Material(no=2),
]
)
await rstab_app.delete_object_list(
[
rstab.structure_core.Material(no=1),
rstab.structure_core.Material(no=2),
]
);
Tip
The object definition for the delete_object_list function only requires the object number.