ToolQueryResult.toolItemIndex Property

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

Description

The index specifies the index of the Tool inside the ToolLibrary.

Syntax

"toolQueryResult_var" is a variable referencing a ToolQueryResult object.

# Get the value of the property.
propertyValue = toolQueryResult_var.toolItemIndex
"toolQueryResult_var" is a variable referencing a ToolQueryResult object.
#include <Cam/Tools/ToolQueryResult.h>

// Get the value of the property.
integer propertyValue = toolQueryResult_var->toolItemIndex();

Property Value

This is a read only property whose value is an integer.

Version

Introduced in version April 2023