get_objects_w_string#

Modeler2D.get_objects_w_string(string_name, case_sensitive=True)[source]#

Retrieve all objects with a given string in their names.

Parameters:
string_namestr

String to search object names for.

case_sensitivebool, optional

Whether the string is case-sensitive. The default is True.

Returns:
list

List of object names with the given string.