mesh:mesh_to_graphics_edges
Last update: 31.07.2026Version: 0.0.0
Description
Generate edges of surface elements for input mesh
Inputs
This table lists the input pins for this operator. Input pins define the data that the operator requires to perform its operation. Some inputs are required, while others are optional and provide additional configuration. Each parameter is detailed in the sections that follow the table.
| Pin number | Name | Status | Expected type(s) |
|---|---|---|---|
| 1 | mesh_scoping | scoping |
|
| 6 | include_mid_nodes | bool |
|
| 7 | mesh | Required | abstract_meshed_region |
mesh_scoping (Pin 1)
- Required: No
- Expected type(s):
scoping
include_mid_nodes (Pin 6)
- Required: No
- Expected type(s):
bool
mesh (Pin 7)
- Required: Yes
- Expected type(s):
abstract_meshed_region
Outputs
This table lists the output pins for this operator. Output pins provide the results of the operator's computation and can be connected to inputs of other operators or retrieved for further processing. Each output is detailed in the sections that follow the table.
| Pin number | Name | Expected type(s) |
|---|---|---|
| 0 | nodes | field |
| 2 | connectivity | property_field |
nodes (Pin 0)
- Expected type(s):
field
node coordinates
connectivity (Pin 2)
- Expected type(s):
property_field
Configurations
This operator supports configuration options that modify its behavior.
mutex
- Expected type(s):
bool - Default value: false
If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.
Scripting
This operator can be accessed through scripting interfaces using these identifiers.
Category: mesh
Plugin: core
Scripting name: mesh_to_graphics_edges
Full name: mesh.mesh_to_graphics_edges
Internal name: mesh_to_graphics_edges
License: None
Examples
These examples demonstrate how to use this operator in different programming environments. Each example shows how to instantiate the operator, connect the required inputs, and retrieve the output.
C++
#include "dpf_api.h"
ansys::dpf::Operator op("mesh_to_graphics_edges"); // operator instantiation
op.connect(1, my_mesh_scoping);
op.connect(6, my_include_mid_nodes);
op.connect(7, my_mesh);
ansys::dpf::Field my_nodes = op.getOutput<ansys::dpf::Field>(0);
ansys::dpf::PropertyField my_connectivity = op.getOutput<ansys::dpf::PropertyField>(2);
CPython
import ansys.dpf.core as dpf
op = dpf.operators.mesh.mesh_to_graphics_edges() # operator instantiation
op.inputs.mesh_scoping.connect(my_mesh_scoping)
op.inputs.include_mid_nodes.connect(my_include_mid_nodes)
op.inputs.mesh.connect(my_mesh)
my_nodes = op.outputs.nodes()
my_connectivity = op.outputs.connectivity()
IPython
import mech_dpf
import Ans.DataProcessing as dpf
op = dpf.operators.mesh.mesh_to_graphics_edges() # operator instantiation
op.inputs.mesh_scoping.Connect(my_mesh_scoping)
op.inputs.include_mid_nodes.Connect(my_include_mid_nodes)
op.inputs.mesh.Connect(my_mesh)
my_nodes = op.outputs.nodes.GetData()
my_connectivity = op.outputs.connectivity.GetData()
Changelog
- Version 0.0.0: Initial release.