GraphNodes.asArray Method

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

Description

Returns the contents of the collection as an array.

Syntax

"graphNodes_var" is a variable referencing a GraphNodes object.

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

#include <Volume/Volumetric/GraphNodes.h>

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

returnValue = graphNodes_var.asArray();

Return Value

Type Description
GraphNode[] Returns an array of the nodes in the graph, including the output nodes.

Version

Introduced in version October 2026