CurveSelections.item Method

Parent Object: CurveSelections
Defined in namespace "adsk::cam" and the header file is <Cam/GeometrySelections/CurveSelections.h>

Description

Function that returns the specified curve selection object using an index into the collection.

Syntax

"curveSelections_var" is a variable referencing a CurveSelections object.
returnValue = curveSelections_var.item(index)
"curveSelections_var" is a variable referencing a CurveSelections object.

#include <Cam/GeometrySelections/CurveSelections.h>

returnValue = curveSelections_var->item(index);

Return Value

Type Description
CurveSelection 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.

Version

Introduced in version April 2023