CylindricalJointMotion.slideValue Property

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

Description

Gets and sets the slide value. This is in centimeters. 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.slideValue

# Set the value of the property.
cylindricalJointMotion_var.slideValue = 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->slideValue();

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

Property Value

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

Version

Introduced in version July 2015