CylindricalJointMotion.rotationValue Property

Parent Object: CylindricalJointMotion
Defined in namespace "adsk::fusion" and the header file is <Fusion/Components/CylindricalJointMotion.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

"cylindricalJointMotion_var" is a variable referencing a CylindricalJointMotion object.

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

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

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

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

Property Value

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

Version

Introduced in version July 2015