GraphNodePins.item Method

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

Description

Function that returns the specified pin using an index into the collection.

Syntax

"graphNodePins_var" is a variable referencing a GraphNodePins object.

returnValue = graphNodePins_var.item(index)
"graphNodePins_var" is a variable referencing a GraphNodePins object.

#include <Volume/Volumetric/GraphNodePins.h>

returnValue = graphNodePins_var->item(index);
"graphNodePins_var" is a variable referencing a GraphNodePins object.

returnValue = graphNodePins_var.item(index);

Return Value

Type Description
GraphNodePin Returns the specified item or null if an invalid index was specified.

Parameters

Name Type Description
index uinteger The index of the item within the collection to return. The first item in the collection has an index of 0.

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