Skip to main content

DPF Mechanical 2026 R1

export_symbolic_workflow class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.serialization

Summary

Transforms a Workflow into a symbolic Workflow and writes it to a file (if a path is set in input) or string

available inputs: workflow (Workflow), path (string) (optional), format (Int32) (optional), options (Int32) (optional)

available outputs: data_sources (DataSources ,string)

Example

op = export_symbolic_workflow()

op = export_symbolic_workflow(workflow=my_workflow,path=my_path,format=my_format,options=my_options)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.serialization
Assembly Ans_Dpf_Native_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

workflow

Type: LinkableInput

path

Type: LinkableInput

format

0 is ASCII format and 1 is binary, default is 0.

Type: LinkableInput

options

1 copies connections with its data, 2 forwards named inputs and outputs names, 7 copies connections of named inputs and ouputs with their data. default is 7.

Type: LinkableInput

Outputs

data_sources

Type: LinkableOutput

Constructors

Constructor

export_symbolic_workflow()

Constructor

export_symbolic_workflow(workflow, path, format, options, config)

Parameters:

  • workflow (object)
  • path (object)
  • format (object)
  • options (object)
  • config (OperatorConfig)

Constructor

export_symbolic_workflow(config)

Parameters:

  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

# Get or set the property
value = obj.inputs
obj.inputs = new_value

outputs

Type: OutputSpec

# Get or set the property
value = obj.outputs
obj.outputs = new_value

defaultConfig

Type: Config

# Get the property (read-only)
value = obj.defaultConfig

Connect with Ansys