Skip to main content

DPF Mechanical 2026 R1

rescope_property_field class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.scoping

Summary

Rescopes a property field on the given scoping. If an ID does not exist in the original property field, the default value (in 2) is used when defined.

available inputs: fields (PropertyFieldsContainer, PropertyField), mesh_scoping (Scoping, IList int, System.Collections.IEnumerable) (optional), default_value (Int32, IList int, System.Collections.IEnumerable) (optional)

available outputs: fields (PropertyFieldsContainer ,PropertyField)

Example

op = rescope_property_field()

op = rescope_property_field(fields=my_fields,mesh_scoping=my_mesh_scoping,default_value=my_default_value)

Class Information

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

Inputs

fields

Type: LinkableInput

mesh_scoping

Type: LinkableInput

default_value

If pin 2 is used, the IDs not found in the property field are added with this default value.

Type: LinkableInput

Outputs

fields

Type: LinkableOutput

Constructors

Constructor

rescope_property_field()

Constructor

rescope_property_field(fields, mesh_scoping, default_value, config)

Parameters:

  • fields (object)
  • mesh_scoping (object)
  • default_value (object)
  • config (OperatorConfig)

Constructor

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