GraphNodes.itemByName Method

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

Description

Returns the node with the specified name.

Syntax

"graphNodes_var" is a variable referencing a GraphNodes object.

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

#include <Volume/Volumetric/GraphNodes.h>

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

returnValue = graphNodes_var.itemByName(name);

Return Value

Type Description
GraphNode Returns the specified node or null in the case where there is no node with the specified name.

Parameters

Name Type Description
name string The name of the node.

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