Skip to main content

DPF Mechanical 2026 R1

split_in_for_each_range class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.utility

Summary

Split a scoping into several pieces so you can iterate it with a for_each loop.

available inputs: iterable (object) (optional), operator_to_iterate (Operator), pin_index (Int32), scoping (Scoping), chunk_size (Int32)

available outputs: output (object)

Example

op = split_in_for_each_range()

op = split_in_for_each_range(iterable=my_iterable,operator_to_iterate=my_operator_to_iterate,pin_index=my_pin_index,scoping=my_scoping,chunk_size=my_chunk_size)

Class Information

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

Inputs

iterable

Iterable that can be combined with the one currently generated.

Type: LinkableInput

operator_to_iterate

Operator that must be reconnected with the range values.

Type: LinkableInput

pin_index

Type: LinkableInput

scoping

Type: LinkableInput

chunk_size

Type: LinkableInput

Outputs

output

Type: LinkableOutput

Constructors

Constructor

split_in_for_each_range()

Constructor

split_in_for_each_range(iterable, operator_to_iterate, pin_index, scoping, chunk_size, config)

Parameters:

  • iterable (object)
  • operator_to_iterate (object)
  • pin_index (object)
  • scoping (object)
  • chunk_size (object)
  • config (OperatorConfig)

Constructor

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