ToolPresets.item Method

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

Description

Get Preset by index.

Syntax

"toolPresets_var" is a variable referencing a ToolPresets object.
returnValue = toolPresets_var.item(index)
"toolPresets_var" is a variable referencing a ToolPresets object.

#include <Cam/Tools/ToolPresets.h>

returnValue = toolPresets_var->item(index);

Return Value

Type Description
ToolPreset Returns Preset at by given index, null otherwise

Parameters

Name Type Description
index uinteger Index of the Preset in the owning Tool that should be returned.

Version

Introduced in version April 2023