Skip to main content

DPF Mechanical 2026 R1

merge_data_tree class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.utility

Summary

Merges a list of data trees. Attributes names shouldn't be shared accross data tree instances.

available inputs: data_tree1 (DataTree), data_tree2 (DataTree)

available outputs: any (object)

Example

op = merge_data_tree()

op = merge_data_tree(data_tree1=my_data_tree1,data_tree2=my_data_tree2)

Class Information

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

Inputs

data_tree1

Either a vector of data trees or data trees from pin 0 to ... to merge.

Type: LinkableInput

data_tree2

Either a vector of data trees or data trees from pin 0 to ... to merge.

Type: LinkableInput

Outputs

any

Type: LinkableOutput

Constructors

Constructor

merge_data_tree()

Constructor

merge_data_tree(data_tree1, data_tree2, config)

Parameters:

  • data_tree1 (object)
  • data_tree2 (object)
  • config (OperatorConfig)

Constructor

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