Skip to main content

DPF Mechanical 2026 R1

from_mesh class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.scoping

Summary

Provides the entire mesh scoping based on the requested location

available inputs: mesh (MeshedRegion), requested_location (string) (optional)

available outputs: scoping (Scoping)

Example

op = from_mesh()

op = from_mesh(mesh=my_mesh,requested_location=my_requested_location)

Class Information

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

Inputs

mesh

Type: LinkableInput

requested_location

if nothing the operator returns the nodes scoping, possible locations are: Nodal(default) or Elemental

Type: LinkableInput

Outputs

scoping

Type: LinkableOutput

Constructors

Constructor

from_mesh()

Constructor

from_mesh(mesh, requested_location, config)

Parameters:

  • mesh (object)
  • requested_location (object)
  • config (OperatorConfig)

Constructor

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