replace_object_suffix#
- class ansys.fluent.core.generated.datamodel_261.meshing_utilities.Root.replace_object_suffix(service, rules, command, path=None)#
Bases:
PyCommand
Rename objects by replacing the object suffix with a new suffix. Parameters ———- object_name_list : list[str]
List containing the object names.
- separatorstr
Mesh object name separator.
- new_suffixstr
New object name suffix.
- Returns:
Examples
>>> meshing_session.meshing_utilities.replace_object_suffix(object_name_list=["elbow-fluid"], separator="-", new_suffix="fluid-new")
Methods:
Create a command instance.
- __init__(service, rules, command, path=None)#
__init__ method of PyCommand class.
- create_instance()#
Create a command instance.