RecognizedPocketInput.body Property

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

Description

The body on which to recognize pockets.

Syntax

"recognizedPocketInput_var" is a variable referencing a RecognizedPocketInput object.

# Get the value of the property.
propertyValue = recognizedPocketInput_var.body

# Set the value of the property.
recognizedPocketInput_var.body = propertyValue
"recognizedPocketInput_var" Is a variable referencing a RecognizedPocketInput Object.
#include <Cam/PocketRecognition/RecognizedPocketInput.h>

// Get the value of the property.
Ptr<Base> propertyValue = recognizedPocketInput_var->body();

// Set the value of the property, where value_var is a Base.
bool returnValue = recognizedPocketInput_var->body(value_var);

Property Value

This is a read/write property whose value is a Base.

Version

Introduced in version April 2026