PinSlotJointMotion.slideDirection Property

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

Description

Gets and sets the direction of the slide motion in the slot. This can be set to XAxisJointDirection, YAxisJointDirection, or ZAxisJointDirection. It can return those three directions and CustomJointDirection. If this returns CustomJointDirection then the customSlideDirectionEntity will return an entity that defines the direction. If there is a custom direction defined and this property is set to one of the three standard axes, the custom direction will be removed and customSlideDirectionEntity will return null.

Syntax

"pinSlotJointMotion_var" is a variable referencing a PinSlotJointMotion object.

# Get the value of the property.
propertyValue = pinSlotJointMotion_var.slideDirection

# Set the value of the property.
pinSlotJointMotion_var.slideDirection = propertyValue
"pinSlotJointMotion_var" is a variable referencing a PinSlotJointMotion object.
#include <Fusion/Components/PinSlotJointMotion.h>

// Get the value of the property.
JointDirections propertyValue = pinSlotJointMotion_var->slideDirection();

// Set the value of the property, where value_var is a JointDirections.
bool returnValue = pinSlotJointMotion_var->slideDirection(value_var);

Property Value

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

Version

Introduced in version July 2015