Skip to main content

DPF Mechanical 2026 R1

identical_string_fields class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.logic

Summary

Takes two string fields and compares them.

available inputs: string_fieldA (StringField), string_fieldB (StringField)

available outputs: are_identical (bool), information (string)

Example

op = identical_string_fields()

op = identical_string_fields(string_fieldA=my_string_fieldA,string_fieldB=my_string_fieldB)

Class Information

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

Inputs

string_fieldA

Type: LinkableInput

string_fieldB

Type: LinkableInput

Outputs

are_identical

Type: LinkableOutput

information

Type: LinkableOutput

Constructors

Constructor

identical_string_fields()

Constructor

identical_string_fields(string_fieldA, string_fieldB, config)

Parameters:

  • string_fieldA (object)
  • string_fieldB (object)
  • config (OperatorConfig)

Constructor

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