Skip to main content

DPF Mechanical 2026 R1

pres_to_field class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.result.mapdl

Summary

Read the presol generated file from mapdl.

available inputs: filepath (string), columns_to_read (Int32) (optional)

available outputs: field (Field)

Example

op = pres_to_field()

op = pres_to_field(filepath=my_filepath,columns_to_read=my_columns_to_read)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.result.mapdl
Assembly mapdlOperatorsCore_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

filepath

filepath

Type: LinkableInput

columns_to_read

columns_to_read

Type: LinkableInput

Outputs

field

Type: LinkableOutput

Constructors

Constructor

pres_to_field()

Constructor

pres_to_field(filepath, columns_to_read, config)

Parameters:

  • filepath (object)
  • columns_to_read (object)
  • config (OperatorConfig)

Constructor

pres_to_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