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

# OperatorConfig class

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

OperatorConfig(operatorName: str)

OperatorConfig()

OperatorConfig(id: Int64)

OperatorConfig(id: IntPtr)

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing` |
| Assembly | `CS_DataProcessing` |
| Base Class | `Ans.DataProcessing.internal_objects.DpfType` |

## Constructors

#### Constructor

```python theme={null}
OperatorConfig(operatorName)
```

**Parameters:**

* `operatorName` (*str*)

#### Constructor

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

#### Constructor

```python theme={null}
OperatorConfig(id)
```

**Parameters:**

* `id` (*int*)

#### Constructor

```python theme={null}
OperatorConfig(id)
```

**Parameters:**

* `id` (*IntPtr*)

## Methods

#### GetIntValue

```python theme={null}
result = obj.GetIntValue(optionName)
```

**Parameters:**

* `optionName` (*str*)

**Returns:** *int*

#### SetConfigOption

```python theme={null}
obj.SetConfigOption(optionName, value)
```

**Parameters:**

* `optionName` (*str*)
* `value` (*int*)

#### GetDoubleValue

```python theme={null}
result = obj.GetDoubleValue(optionName)
```

**Parameters:**

* `optionName` (*str*)

**Returns:** *float*

#### SetConfigOption

```python theme={null}
obj.SetConfigOption(optionName, value)
```

**Parameters:**

* `optionName` (*str*)
* `value` (*float*)

#### GetBoolValue

```python theme={null}
result = obj.GetBoolValue(optionName)
```

**Parameters:**

* `optionName` (*str*)

**Returns:** *bool*

#### SetConfigOption

```python theme={null}
obj.SetConfigOption(optionName, value)
```

**Parameters:**

* `optionName` (*str*)
* `value` (*bool*)

#### GetInternalData

```python theme={null}
result = obj.GetInternalData()
```

**Returns:** *IntPtr*

## Properties

#### NumConfigOptions

**Type:** *int*

```python theme={null}
# Get the property (read-only)
value = obj.NumConfigOptions
```

#### ConfigOptions

**Type:** *list*

```python theme={null}
# Get the property (read-only)
value = obj.ConfigOptions
```
