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

# migrate_file_to_vtk class

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

## Summary

Take an input data sources or streams and convert as much data as possible to vtk.

available inputs: `output_filename` (string) (optional), `streams_container` (StreamsContainer) (optional), `data_sources` (DataSources) (optional)

available outputs: `data_sources` (DataSources)

## Example

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

op = migrate_file_to_vtk(output_filename=my_output_filename,streams_container=my_streams_container,data_sources=my_data_sources)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.serialization` |
| Assembly | `meshOperatorsCore_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### output\_filename

**Type:** *LinkableInput*

### streams\_container

**Type:** *LinkableInput*

### data\_sources

**Type:** *LinkableInput*

## Outputs

### data\_sources

Generated output vtk file

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
migrate_file_to_vtk(output_filename, streams_container, data_sources, config)
```

**Parameters:**

* `output_filename` (*object*)
* `streams_container` (*object*)
* `data_sources` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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