replace_label_suffix#

class ansys.fluent.core.generated.datamodel_252.meshing_utilities.Root.replace_label_suffix(service, rules, command, path=None)#

Bases: PyCommand

Rename labels by replacing the label suffix with a new suffix. Parameters ———- object_name_list : list[str]

List containing the object names.

separatorstr

Label separator.

new_suffixstr

New label suffix.

Returns:
None

Examples

>>> meshing_session.meshing_utilities.replace_label_suffix(object_name_list=["elbow-fluid-1"], separator="-", new_suffix="fluid-new")

Methods:

create_instance()

Create a command instance.

__init__(service, rules, command, path=None)#

__init__ method of PyCommand class.

create_instance()#

Create a command instance.