RevoluteJointMotion.rotationValue Property

Parent Object: RevoluteJointMotion
Defined in namespace "adsk::fusion" and the header file is <Fusion/Components/RevoluteJointMotion.h>

Description

Gets and sets the rotation value. This is in radians. Setting this value is the equivalent of using the Drive Joints command.

Syntax

"revoluteJointMotion_var" is a variable referencing a RevoluteJointMotion object.

# Get the value of the property.
propertyValue = revoluteJointMotion_var.rotationValue

# Set the value of the property.
revoluteJointMotion_var.rotationValue = propertyValue
"revoluteJointMotion_var" is a variable referencing a RevoluteJointMotion object.
#include <Fusion/Components/RevoluteJointMotion.h>

// Get the value of the property.
double propertyValue = revoluteJointMotion_var->rotationValue();

// Set the value of the property, where value_var is a double.
bool returnValue = revoluteJointMotion_var->rotationValue(value_var);

Property Value

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

Version

Introduced in version July 2015