> ## 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_extraction class

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

## Summary

Take a mesh and a scoping (elemental or nodal) and create a new mesh that contains this selection only.

available inputs: `mesh` (MeshedRegion), `mesh_scoping` (Scoping), `extension` (Int32) (optional)

available outputs: `meshed_region` (MeshedRegion)

## Example

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

op = mesh_extraction(mesh=my_mesh,mesh_scoping=my_mesh_scoping,extension=my_extension)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.mesh` |
| Assembly | `meshOperatorsCore_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### mesh

**Type:** *LinkableInput*

### mesh\_scoping

**Type:** *LinkableInput*

### extension

Number of extension layer

**Type:** *LinkableInput*

## Outputs

### meshed\_region

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
mesh_extraction(mesh, mesh_scoping, extension, config)
```

**Parameters:**

* `mesh` (*object*)
* `mesh_scoping` (*object*)
* `extension` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
mesh_extraction(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
```
