> ## 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.

# change_shell_layers class

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

## Summary

Extract the requested shell layers from the input fields. If the fields contain only one layer and the permissive configuration input is set to true then it returns the input fields. If permissive configuration input is set to false, any change which should not be permitted won't be achieved and the corresponding field in the output will be empty. If permissive configuration input is set to true (default), carefully check the result.

available inputs: `fields_container` (FieldsContainer, Field), `e_shell_layer` (Int32), `mesh` (MeshedRegion, MeshesContainer) (optional), `merge` (bool) (optional)

available outputs: `fields_container` (FieldsContainer ,Field)

## Example

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

op = change_shell_layers(fields_container=my_fields_container,e_shell_layer=my_e_shell_layer,mesh=my_mesh,merge=my_merge)
```

## Class Information

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

## Inputs

### fields\_container

**Type:** *LinkableInput*

### e\_shell\_layer

0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

**Type:** *LinkableInput*

### mesh

Mesh support of the input fields\_container, in case it does not have one defined. If the fields\_container contains mixed shell/solid results, the mesh is required (either by connecting this pin or in the support).

**Type:** *LinkableInput*

### merge

For fields with mixed shell layers (solid/shell elements with heterogeneous shell layers), group all of them in the same field (false by default).

**Type:** *LinkableInput*

## Outputs

### fields\_container

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
change_shell_layers(fields_container, e_shell_layer, mesh, merge, config)
```

**Parameters:**

* `fields_container` (*object*)
* `e_shell_layer` (*object*)
* `mesh` (*object*)
* `merge` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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