Skip to main content

DPF Mechanical 2026 R1

from_field class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.mesh

Summary

Extracts the meshed region from the support of a field.

available inputs: field (Field)

available outputs: mesh (MeshedRegion)

Example

op = from_field()

op = from_field(field=my_field)

Class Information

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

Inputs

field

Field containing a mesh support

Type: LinkableInput

Outputs

mesh

Meshed region extracted from the field's support

Type: LinkableOutput

Constructors

Constructor

from_field()

Constructor

from_field(field, config)

Parameters:

  • field (object)
  • config (OperatorConfig)

Constructor

from_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