SketchGroup.item Method

Parent Object: SketchGroup
Defined in namespace "adsk::fusion" and the header file is <Fusion/Components/SketchGroup.h>

Description

Function that returns the specified item within this group using an index into the collection. The returned item can be a Sketch or a nested SketchGroup.

Syntax

"sketchGroup_var" is a variable referencing a SketchGroup object.

returnValue = sketchGroup_var.item(index)
"sketchGroup_var" is a variable referencing a SketchGroup object.

#include <Fusion/Components/SketchGroup.h>

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

returnValue = sketchGroup_var.item(index);

Return Value

Type Description
Base 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 group to return. The first item in the group has an index of 0.

Version

Introduced in version November 2026