delete_object#
- dlubal.api.rstab.Application.delete_object(self, obj, model_id=None)#
Deletes a single object from the model.
- Parameters:
obj (obj) – An object 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(rstab.structure_core.Material(no=1))
await rstab_app.delete_object(rstab.structure_core.Material(no=1));
Tip
The object definition for the delete_object function only requires the object number.