JointOrigin.zAxisEntity 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 Z axis direction. This defaults to null meaning the Z 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.zAxisEntity

# Set the value of the property.
jointOrigin_var.zAxisEntity = 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->zAxisEntity();

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

Property Value

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

Version

Introduced in version September 2015