get_objects_w_string#
- Modeler3D.get_objects_w_string(string_name: str, case_sensitive: bool = True) list#
Retrieve all objects with a given string in their names.
- Parameters:
- Returns:
listList of object names with the given string.
Examples
>>> from ansys.aedt.core import Hfss >>> app = Hfss() >>> app.modeler.get_objects_w_string(string_name=1)