ToolLibrary.item Method

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

Description

Get Tool by index in ToolLibrary.

Syntax

"toolLibrary_var" is a variable referencing a ToolLibrary object.
returnValue = toolLibrary_var.item(index)
"toolLibrary_var" is a variable referencing a ToolLibrary object.

#include <Cam/Tools/ToolLibrary.h>

returnValue = toolLibrary_var->item(index);

Return Value

Type Description
Tool Returns the Tool in the ToolLibrary by given index.

Parameters

Name Type Description
index uinteger Index of the Tool in the ToolLibrary.

Version

Introduced in version April 2023