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

# scoping_get_attribute class

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

## Summary

Uses the Scoping APIs to return a given attribute of the scoping in input.

available inputs: `scoping` (Scoping), `property_name` (string)

available outputs: `property` (IList int  ,string ,System.Collections.IEnumerable)

## Example

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

op = scoping_get_attribute(scoping=my_scoping,property_name=my_property_name)
```

## Class Information

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

## Inputs

### scoping

**Type:** *LinkableInput*

### property\_name

Supported property names are: "ids", "location".

**Type:** *LinkableInput*

## Outputs

### property

Returns a vector of int for property: "ids" and a string for property: "location".

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
scoping_get_attribute(scoping, property_name, config)
```

**Parameters:**

* `scoping` (*object*)
* `property_name` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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