JointOrigin.xAxisEntity Property

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

Description

Gets and sets the entity that defines the X axis direction. This defaults to null meaning the X axis is inferred from the input geometry.

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

Syntax

"jointOrigin_var" is a variable referencing a JointOrigin object.

# Get the value of the property.
propertyValue = jointOrigin_var.xAxisEntity

# Set the value of the property.
jointOrigin_var.xAxisEntity = propertyValue
"jointOrigin_var" is a variable referencing a JointOrigin object.
#include <Fusion/Components/JointOrigin.h>

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

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

Property Value

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

Version

Introduced in version September 2015