BallJointMotion.customPitchDirectionEntity Property

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

Description

This property defines a custom pitch direction and can be set using various types of entities that can infer a direction. For example, a linear edge, sketch line, planar face, and cylindrical face.This property is only valid in the case where the pitchDirection property returns CustomJointDirection. Setting this property will automatically set the pitchDirection property to CustomJointDirection.

To set this property, you need to position the timeline marker to immediately before this joint. This can be accomplished using the following code: thisJoint.timelineObject.rollTo(True)

Syntax

"ballJointMotion_var" is a variable referencing a BallJointMotion object.

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

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

// Get the value of the property.
Ptr<Base> propertyValue = ballJointMotion_var->customPitchDirectionEntity();

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

Property Value

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

Version

Introduced in version July 2015