Skip to main content

DPF Mechanical 2026 R1

connectivity_ids class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.scoping

Summary

Returns the ordered node ids corresponding to the element ids scoping in input. For each element the node ids are its connectivity.

available inputs: mesh_scoping (Scoping), mesh (MeshedRegion) (optional), take_mid_nodes (bool) (optional)

available outputs: mesh_scoping (Scoping), elemental_scoping (Scoping)

Example

op = connectivity_ids()

op = connectivity_ids(mesh_scoping=my_mesh_scoping,mesh=my_mesh,take_mid_nodes=my_take_mid_nodes)

Class Information

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

Inputs

mesh_scoping

Elemental scoping

Type: LinkableInput

mesh

the support of the scoping is expected if there is no mesh in input

Type: LinkableInput

take_mid_nodes

default is true

Type: LinkableInput

Outputs

mesh_scoping

Type: LinkableOutput

elemental_scoping

same as the input scoping but with ids duplicated to have the same size as nodal output scoping

Type: LinkableOutput

Constructors

Constructor

connectivity_ids()

Constructor

connectivity_ids(mesh_scoping, mesh, take_mid_nodes, config)

Parameters:

  • mesh_scoping (object)
  • mesh (object)
  • take_mid_nodes (object)
  • config (OperatorConfig)

Constructor

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