RecognizedPocketInput.attackVectors Property

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

Description

The attack vectors used to recognize pockets. If left empty, this array will be filled with normals of all planar faces on the given body. There vectors should be pointing down along the tool towards its tip and the pocket floors.

Syntax

"recognizedPocketInput_var" is a variable referencing a RecognizedPocketInput object.

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

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

// Get the value of the property.
std::vector<Ptr<Vector3D>> propertyValue = recognizedPocketInput_var->attackVectors();

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

Property Value

This is a read/write property whose value is an array of type Vector3D.

Version

Introduced in version April 2026