Skip to main content

DPF Mechanical 2026 R1

delegate_to_operator class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.utility

Summary

Delegate the run to an Operator instantiated by the name in input (forwards all the input of this Operator to the sub Operator).

available inputs: operator_name (string)

available outputs: any1 (object), any2 (object)

Example

op = delegate_to_operator()

op = delegate_to_operator(operator_name=my_operator_name)

Class Information

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

Inputs

operator_name

Type: LinkableInput

Outputs

any1

inputs

Type: LinkableOutput

any2

inputs

Type: LinkableOutput

Constructors

Constructor

delegate_to_operator()

Constructor

delegate_to_operator(operator_name, config)

Parameters:

  • operator_name (object)
  • config (OperatorConfig)

Constructor

delegate_to_operator(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