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

# entity_extractor class

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

## Summary

Extracts an entity from a field, based on its ID.

available inputs: `fieldA` (Field), `scalar_int` (Int32)

available outputs: `field` (Field)

## Example

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

op = entity_extractor(fieldA=my_fieldA,scalar_int=my_scalar_int)
```

## Class Information

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

## Inputs

### fieldA

**Type:** *LinkableInput*

### scalar\_int

**Type:** *LinkableInput*

## Outputs

### field

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
entity_extractor(fieldA, scalar_int, config)
```

**Parameters:**

* `fieldA` (*object*)
* `scalar_int` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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