RecognizedPockets.item Method

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

Description

Returns the pocket at the specified index from this collection of pockets.

Syntax

"recognizedPockets_var" is a variable referencing a RecognizedPockets object.
returnValue = recognizedPockets_var.item(index)
"recognizedPockets_var" is a variable referencing a RecognizedPockets object.

#include <Cam/PocketRecognition/RecognizedPockets.h>

returnValue = recognizedPockets_var->item(index);

Parameters

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

Version

Introduced in version July 2023