RecognizedHole.axis Property

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

Description

Returns the unit vector that points straight up out of the hole in the global coordinate system.

Syntax

"recognizedHole_var" is a variable referencing a RecognizedHole object.

# Get the value of the property.
propertyValue = recognizedHole_var.axis
"recognizedHole_var" is a variable referencing a RecognizedHole object.
#include <Cam/HoleRecognition/RecognizedHole.h>

// Get the value of the property.
Ptr<Vector3D> propertyValue = recognizedHole_var->axis();

Property Value

This is a read only property whose value is a Vector3D.

Version

Introduced in version May 2023