RevoluteJointMotion.customRotationAxisEntity Property

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

Description

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

Syntax

"revoluteJointMotion_var" is a variable referencing a RevoluteJointMotion object.

# Get the value of the property.
propertyValue = revoluteJointMotion_var.customRotationAxisEntity

# Set the value of the property.
revoluteJointMotion_var.customRotationAxisEntity = propertyValue
"revoluteJointMotion_var" is a variable referencing a RevoluteJointMotion object.
#include <Fusion/Components/RevoluteJointMotion.h>

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

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

Property Value

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

Version

Introduced in version July 2015