GraphNodeProperties.itemByName Method

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

Description

Returns the property with the specified internal name.

Syntax

"graphNodeProperties_var" is a variable referencing a GraphNodeProperties object.

returnValue = graphNodeProperties_var.itemByName(propertyName)
"graphNodeProperties_var" is a variable referencing a GraphNodeProperties object.

#include <Volume/Volumetric/GraphNodeProperties.h>

returnValue = graphNodeProperties_var->itemByName(propertyName);
"graphNodeProperties_var" is a variable referencing a GraphNodeProperties object.

returnValue = graphNodeProperties_var.itemByName(propertyName);

Return Value

Type Description
GraphNodeProperty Returns the specified property or null in the case where there is no property with the specified id.

Parameters

Name Type Description
propertyName string The internal name of the property.

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 May 2025