    

 ## On this page

  

 

 # `MeshFlowControlMethod`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Enums.MeshFlowControlMethod"></a>

#### *class* Ansys.Mechanical.DataModel.Enums.MeshFlowControlMethod(\*args, \*\*kwds)

Bases: [`enum.Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Create a collection of name/value pairs.

Example enumeration:

```pycon
&gt;&gt;&gt; class Color(Enum):
...     RED = 1
...     BLUE = 2
...     GREEN = 3

```

Access them by:

- attribute access: ```pycon
    &gt;&gt;&gt; Color.RED
    <color>
    
    ```
- value lookup: ```pycon
    &gt;&gt;&gt; Color(1)
    <color>
    
    ```
- name lookup: ```pycon
    &gt;&gt;&gt; Color['RED']
    <color>
    
    ```

Enumerations can be iterated over, and know how many members they have:

```pycon
&gt;&gt;&gt; len(Color)
3

```

```pycon
&gt;&gt;&gt; list(Color)
[<color>, <color>, <color>]

```

Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.

<a id="overview"></a>

## Overview

### Attributes

Name[`GlobalCartesian`](#MeshFlowControlMethod.GlobalCartesian)[`None_`](#MeshFlowControlMethod.None_)[`ProgramControlled`](#MeshFlowControlMethod.ProgramControlled)<a id="attribute-detail"></a>

## Attribute detail

<a id="MeshFlowControlMethod.GlobalCartesian"></a>

### MeshFlowControlMethod.GlobalCartesian *= 2*

<a id="MeshFlowControlMethod.None_"></a>

### MeshFlowControlMethod.None\_ *= 1*

<a id="MeshFlowControlMethod.ProgramControlled"></a>

### MeshFlowControlMethod.ProgramControlled *= 0*