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

# on_property class

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

## Summary

Provides a scoping at a given location based on a given property name and a property number.

available inputs: `requested_location` (string), `property_name` (string), `property_id` (Int32), `streams_container` (StreamsContainer) (optional), `data_sources` (DataSources), `inclusive` (Int32) (optional)

available outputs: `mesh_scoping` (Scoping)

## Example

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

op = on_property(requested_location=my_requested_location,property_name=my_property_name,property_id=my_property_id,streams_container=my_streams_container,data_sources=my_data_sources,inclusive=my_inclusive)
```

## Class Information

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

## Inputs

### requested\_location

Nodal or Elemental location are expected

**Type:** *LinkableInput*

### property\_name

ex "mapdl\_element\_type", "mapdl\_element\_type\_id", "apdl\_type\_index", "mapdl\_type\_id", "material", "apdl\_section\_id", "apdl\_real\_id", "apdl\_esys\_id", "apdl\_tshape", "shell\_axi", "volume\_axi"...

**Type:** *LinkableInput*

### property\_id

property\_id or vector of property ids

**Type:** *LinkableInput*

### streams\_container

**Type:** *LinkableInput*

### data\_sources

**Type:** *LinkableInput*

### inclusive

If element scoping is requested on a nodal named selection, if inclusive == 1 then all the elements/faces adjacent to the nodes/faces ids in input are added, if inclusive == 0, only the elements/faces which have all their nodes/faces in the scoping are included

**Type:** *LinkableInput*

## Outputs

### mesh\_scoping

Scoping

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
on_property(requested_location, property_name, property_id, streams_container, data_sources, inclusive, config)
```

**Parameters:**

* `requested_location` (*object*)
* `property_name` (*object*)
* `property_id` (*object*)
* `streams_container` (*object*)
* `data_sources` (*object*)
* `inclusive` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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