MachineElements.item Method

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

Description

Get the element at a particular index in the collection.

Syntax

"machineElements_var" is a variable referencing a MachineElements object.
returnValue = machineElements_var.item(index)
"machineElements_var" is a variable referencing a MachineElements object.

#include <Cam/Machine/MachineElements.h>

returnValue = machineElements_var->item(index);

Return Value

Type Description
MachineElement Returns the element at the given index.

Parameters

Name Type Description
index integer Index of element.

Version

Introduced in version April 2023