BallJointMotion.yawDirection Property

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

Description

Gets and sets the direction that the pitch is measured from. This can only be set to XAxisJointDirection and can return XAxisJointDirection or CustomJointDirection. If this returns CustomJointDirection then the customYawDirectionEntity will return an entity that defines the direction. If there is a custom direction defined and this property is set to XAxisJointDirection, the custom direction will be removed and customYawDirectionEntity will return null.

Syntax

"ballJointMotion_var" is a variable referencing a BallJointMotion object.

# Get the value of the property.
propertyValue = ballJointMotion_var.yawDirection

# Set the value of the property.
ballJointMotion_var.yawDirection = propertyValue
"ballJointMotion_var" is a variable referencing a BallJointMotion object.
#include <Fusion/Components/BallJointMotion.h>

// Get the value of the property.
JointDirections propertyValue = ballJointMotion_var->yawDirection();

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

Property Value

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

Version

Introduced in version July 2015