RecognizedHoles.item Method

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

Description

Returns the hole at the specified index from this collection of holes.

Syntax

"recognizedHoles_var" is a variable referencing a RecognizedHoles object.
returnValue = recognizedHoles_var.item(index)
"recognizedHoles_var" is a variable referencing a RecognizedHoles object.

#include <Cam/HoleRecognition/RecognizedHoles.h>

returnValue = recognizedHoles_var->item(index);

Parameters

Name Type Description
index uinteger The index of the hole within this hole collection to return. The first hole in this collection has an index of 0.

Version

Introduced in version May 2023