delete_objects_containing#

Modeler2D.delete_objects_containing(contained_string, case_sensitive=True)[source]#

Delete all objects with a given prefix.

Parameters:
contained_stringstr

Prefix in the names of the objects to delete.

case_sensitivebool, optional

Whether the prefix is case sensitive. The default is True.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.Delete