get_regions#

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

Bases: PyQuery

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

Mesh object name.

region_name_patternstr

Region name pattern.

filterstr

Region name filter.

Returns:
list[str]

Examples

>>> meshing_session.meshing_utilities.get_regions(object_name="elbow-fluid", region_name_pattern="*")
>>> meshing_session.meshing_utilities.get_regions(object_name="elbow-fluid", filter="*")
>>> meshing_session.meshing_utilities.get_regions(object_name="elbow-fluid")

Methods:

create_instance()

Create an operation instance.

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

__init__ method of PyAction class.

create_instance()#

Create an operation instance.