delete_objects_containing

Primitives2D.delete_objects_containing(contained_string, case_sensitive=True)

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-senstive. The default is True.

Returns
bool

True when successful, False when failed

References

>>> oEditor.Delete