Skip to main content

DPF Mechanical 2026 R1

server_path class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.utility

Summary

Returns the platform-specific path to a folder in the Dpf server

available inputs: subpath (Int32) (optional)

available outputs: path (string)

Example

op = server_path()

op = server_path(subpath=my_subpath)

Class Information

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

Inputs

subpath

Subpath of the Dpf server. Supported values: 0 (default): root of the server, 1: "dpf/bin/platform", 2: "aisol/bin(dll)/platform", 3: "dpf/plugins", 4: "dpf/workflows".

Type: LinkableInput

Outputs

path

Path to the requested folder in the Dpf server

Type: LinkableOutput

Constructors

Constructor

server_path()

Constructor

server_path(subpath, config)

Parameters:

  • subpath (object)
  • config (OperatorConfig)

Constructor

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