SliderJointMotion.slideValue Property

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

"sliderJointMotion_var" is a variable referencing a SliderJointMotion object.

# Get the value of the property.
propertyValue = sliderJointMotion_var.slideValue

# Set the value of the property.
sliderJointMotion_var.slideValue = propertyValue
"sliderJointMotion_var" is a variable referencing a SliderJointMotion object.
#include <Fusion/Components/SliderJointMotion.h>

// Get the value of the property.
double propertyValue = sliderJointMotion_var->slideValue();

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

Property Value

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

Version

Introduced in version July 2015