Graph.nodes Property

Parent Object: Graph
Defined in namespace "adsk::volume" and the header file is <Volume/Volumetric/Graph.h>

Description

Gets the nodes in the graph, including the output nodes.

Syntax

"graph_var" is a variable referencing a Graph object.
# Get the value of the property.
propertyValue = graph_var.nodes
"graph_var" Is a variable referencing a Graph Object.
#include <Volume/Volumetric/Graph.h>

// Get the value of the property.
Ptr<GraphNodes> propertyValue = graph_var->nodes();
"graph_var" Is a variable referencing a Graph Object.
// Get the value of the property.
propertyValue = graph_var.nodes;

Property Value

This is a read only property whose value is a GraphNodes.

Samples

Name Description
Volumetric Custom Feature API Sample

Demonstrates how to create a Volumetric Custom Feature using the API for graph creation.

To run the sample script, have a document open in Fusion’s DESIGN workspace. This script will create a component with a box by sketching then extruding that sketch. It will then use that box as a boundary body and create a Volumetric Custom Feature.

The script will then create a gyroid lattice using the Volumetric Model API with the appropriate graphs, nodes, and pin connections for a minimal example. Finally, the script will convert that Volumetric Model to Mesh using the API and the VolumetricModelToMeshFeature.

Version

Introduced in version October 2026