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

# Operator class

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

## Summary

Object used to create, transform and stream the data

'''''''''''''\_\_\_\_\_\_\_\_\_

"input1"  -> |operator| ->  "output1"

"input2"  -> |''''''''| ->  "output2"

'''''''''''''|\_\_\_\_\_\_\_\_|

## Example

```python theme={null}
my_op = Ans.DataProcessing.Core.CreateOperators("U")

my_op.inputs.data_sources.Connect(my_data_sources) # my_op.inputs.Connect(4, my_data_sources)

my_op.inputs.time_scoping.Connect(105.0) # my_op.inputs.Connect(0, 105.0)

fields_container = my_op.outputs.fields_container.GetData()
```

## Class Information

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

## Constructors

#### Constructor

```python theme={null}
Operator(name)
```

**Parameters:**

* `name` (*str*)

#### Constructor

```python theme={null}
Operator(name, input, config)
```

**Parameters:**

* `name` (*str*)
* `input` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
Operator(name, input, input2, config)
```

**Parameters:**

* `name` (*str*)
* `input` (*object*)
* `input2` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
Operator(name, input, input2, input3, config)
```

**Parameters:**

* `name` (*str*)
* `input` (*object*)
* `input2` (*object*)
* `input3` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
Operator(name, input, input2, input3, input4, config)
```

**Parameters:**

* `name` (*str*)
* `input` (*object*)
* `input2` (*object*)
* `input3` (*object*)
* `input4` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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

**Parameters:**

* `id` (*int*)

#### Constructor

```python theme={null}
Operator(name, config)
```

**Parameters:**

* `name` (*str*)
* `config` (*OperatorConfig*)

## Methods

#### GetOutputAsFieldsContainer

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *FieldsContainer*

#### GetOutputAsScopingsContainer

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *ScopingsContainer*

#### GetOutputAsMaterialsContainer

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *MaterialsContainer*

#### GetOutputAsField

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *Field*

#### GetOutputAsScoping

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *Scoping*

#### GetOutputAsString

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *str*

#### GetOutputAsByteArray

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *Byte\[]*

#### GetOutputAsInt

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *int*

#### GetOutputAsDouble

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *float*

#### GetOutputAsBool

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *bool*

#### GetOutputAsTimeFreqSupport

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *TimeFreqSupport*

#### GetOutputAsMeshesContainer

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *MeshesContainer*

#### GetOutputAsMeshedRegion

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *MeshedRegion*

#### GetOutputAsStreamsContainer

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *StreamsContainer*

#### GetOutputAsResultInfo

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *ResultInfo*

#### GetOutputAsDataSources

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *DataSources*

#### GetOutputAsPropertyField

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *PropertyField*

#### GetOutputAsDataTree

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *DataTree*

#### GetOutputAsWorkflow

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

**Parameters:**

* `i` (*int* (optional))

**Returns:** *Workflow*
