delete_objects_containing#
- Modeler3D.delete_objects_containing(contained_string: str, case_sensitive: bool = True) bool#
Delete all objects with a given prefix.
- Parameters:
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oEditor.Delete
Examples
>>> from ansys.aedt.core import Hfss >>> app = Hfss() >>> app.modeler.delete_objects_containing(contained_string=1)