GraphNodes.outputNode Method

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

Description

Returns one of the special graph output nodes. Every graph has one or more, they cannot be added or deleted. The final output pins of the graph nodes should be connected to these to make a useful graph.

Syntax

"graphNodes_var" is a variable referencing a GraphNodes object.

returnValue = graphNodes_var.outputNode(outputNodeType)
"graphNodes_var" is a variable referencing a GraphNodes object.

#include <Volume/Volumetric/GraphNodes.h>

returnValue = graphNodes_var->outputNode(outputNodeType);
"graphNodes_var" is a variable referencing a GraphNodes object.

returnValue = graphNodes_var.outputNode(outputNodeType);

Return Value

Type Description
GraphNode The output node if present in the graph, null otherwise.

Parameters

Name Type Description
outputNodeType GraphOutputNodeTypes The type of the output graph node. Not every graph has every type; the primary graph has the primary graph output node types and the cell graph has the cell graph output node types.

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