delete_object_list#
- dlubal.api.rfem.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
rfem_app.delete_object_list([
rfem.structure_core.Node(no=5),
rfem.structure_core.Material(no=2),
])
var deleteList = new List<Google.Protobuf.IMessage>
{
new Rfem.StructureCore.Node { No = 5 },
new Rfem.StructureCore.Material { No = 2 }
};
await RfemApp.delete_object_list(deleteList);