get_labels#

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

Bases: PyQuery

Return a list of face zone labels in the specified object, whose names contain the specified filter or pattern string. Parameters ———- object_name : str

Mesh object name.

filterstr

Label name filter.

label_name_patternstr

Label name pattern.

Returns:
list[str]

Examples

>>> meshing_session.meshing_utilities.get_labels(object_name="elbow-fluid")
>>> meshing_session.meshing_utilities.get_labels(object_name="elbow-fluid", filter="*")
>>> meshing_session.meshing_utilities.get_labels(object_name="elbow-fluid", label_name_pattern="*")

Methods:

create_instance()

Create an operation instance.

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

__init__ method of PyAction class.

create_instance()#

Create an operation instance.