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

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

## Summary

Uses the MeshedRegion APIs to return a given attribute of the mesh in input.

available inputs: `meshed_region` (MeshedRegion), `property_name` (string), `property_identifier` (Int32, string) (optional)

available outputs: `property` (Scoping ,Field ,PropertyField ,Int32 ,StringField)

## Example

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

op = mesh_get_attribute(meshed_region=my_meshed_region,property_name=my_property_name,property_identifier=my_property_identifier)
```

## Class Information

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

## Inputs

### meshed\_region

**Type:** *LinkableInput*

### property\_name

Supported property names are: "connectivity", "reverse\_connectivity", "mat", "faces\_nodes\_connectivity", "elements\_faces\_connectivity" (or any mesh's property field), "coordinates", "named\_selection", "num\_named\_selections", "named\_selection\_names", "named\_selection\_locations", "node\_scoping", "element\_scoping", "face\_scoping"...

**Type:** *LinkableInput*

### property\_identifier

Can be used to get a property at a given index, example: a named selection's number or by name, example: a named selection's name.

**Type:** *LinkableInput*

## Outputs

### property

Returns a property field for properties: "connectivity", "reverse\_connectivity", "mat", "faces\_nodes\_connectivity", "elements\_faces\_connectivity" (or any mesh's property field), a field for property: "coordinates", a scoping for properties:"named\_selection", "node\_scoping", "element\_scoping", "face\_scoping", a string field for properties: "named\_selection\_names", "named\_selection\_locations" and an int for property: "num\_named\_selections".

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
mesh_get_attribute(meshed_region, property_name, property_identifier, config)
```

**Parameters:**

* `meshed_region` (*object*)
* `property_name` (*object*)
* `property_identifier` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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