Skip to main content

DPF Mechanical 2026 R1

min_by_component class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.min_max

Summary

Give the minimum for each element rank by comparing several fields.

available inputs: use_absolute_value (bool), field1 (Field, FieldsContainer), field2 (Field, FieldsContainer)

available outputs: field (Field)

Example

op = min_by_component()

op = min_by_component(use_absolute_value=my_use_absolute_value,field1=my_field1,field2=my_field2)

Class Information

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

Inputs

use_absolute_value

use_absolute_value

Type: LinkableInput

field1

field or fields container with only one field is expected

Type: LinkableInput

field2

field or fields container with only one field is expected

Type: LinkableInput

Outputs

field

Type: LinkableOutput

Constructors

Constructor

min_by_component()

Constructor

min_by_component(use_absolute_value, field1, field2, config)

Parameters:

  • use_absolute_value (object)
  • field1 (object)
  • field2 (object)
  • config (OperatorConfig)

Constructor

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