RecognizedPocket.recognizePocketsWithInput Method

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

Description

Gets all recognized pockets based on the properties in the given input object and returns them. The method is only available with the Machining Extension.

Syntax

This is a static method.
returnValue = adsk.cam.RecognizedPocket.recognizePocketsWithInput(input)
This is a static method.
#include <Cam/PocketRecognition/RecognizedPocket.h>

returnValue = adsk::cam::RecognizedPocket::recognizePocketsWithInput(input);
This is a static method.
returnValue = adsk.cam.RecognizedPocket.recognizePocketsWithInput(input);

Return Value

Type Description
RecognizedPockets Returns a newly created RecognizedPockets object, or null if creation failed.

Parameters

Name Type Description
input RecognizedPocketInput An input object defining the body and search parameters for recognizing pockets.

Version

Introduced in version April 2026