> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# mesh_to_mc class

**Namespace:** [Ans.DataProcessing.operators.utility](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/utility)

## Summary

Creates a meshes container containing the mesh provided on pin 0.

available inputs: `mesh` (MeshedRegion, MeshesContainer), `label` (LabelSpace)

available outputs: `meshes_container` (MeshesContainer)

## Example

```python theme={null}
op = mesh_to_mc()

op = mesh_to_mc(mesh=my_mesh,label=my_label)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.utility` |
| Assembly | `Ans_Dpf_Native_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### mesh

If a meshes container is set in input, it is passed on as an output with the additional label space (if any).

**Type:** *LinkableInput*

### label

Sets a label space.

**Type:** *LinkableInput*

## Outputs

### meshes\_container

**Type:** *LinkableOutput*

## Constructors

#### Constructor

```python theme={null}
mesh_to_mc()
```

#### Constructor

```python theme={null}
mesh_to_mc(mesh, label, config)
```

**Parameters:**

* `mesh` (*object*)
* `label` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
mesh_to_mc(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
