OptimizedOrientationResult.centerOfGravityHeight Property

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

Description

The height of the center of gravity of the oriented part. The value is given in centimeters

Syntax

"optimizedOrientationResult_var" is a variable referencing an OptimizedOrientationResult object.

# Get the value of the property.
propertyValue = optimizedOrientationResult_var.centerOfGravityHeight
"optimizedOrientationResult_var" is a variable referencing an OptimizedOrientationResult object.
#include <Cam/GeneratedData/OptimizedOrientationResult.h>

// Get the value of the property.
float propertyValue = optimizedOrientationResult_var->centerOfGravityHeight();

Property Value

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

Version

Introduced in version July 2023