JointLimits.isRestValueEnabled Property

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

Description

Gets and sets whether the resting joint value is enabled or not.

Syntax

"jointLimits_var" is a variable referencing a JointLimits object.

# Get the value of the property.
propertyValue = jointLimits_var.isRestValueEnabled

# Set the value of the property.
jointLimits_var.isRestValueEnabled = propertyValue
"jointLimits_var" is a variable referencing a JointLimits object.
#include <Fusion/Components/JointLimits.h>

// Get the value of the property.
boolean propertyValue = jointLimits_var->isRestValueEnabled();

// Set the value of the property, where value_var is a boolean.
bool returnValue = jointLimits_var->isRestValueEnabled(value_var);

Property Value

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

Samples

Name Description
BallJointMotion API Sample Demonstrates creating a joint with ball joint motion
CylindricalJointMotion API Sample Demonstrates creating a joint with cylindrical joint motion.
Pin Slot Joint Motion API Sample Demonstrates creating a joint with pin slot joint motion
Planar Joint Motion API Sample Demonstrates creating a joint with planar joint motion
SliderJointMotion API Sample Demonstrates creating a joint with slider joint motion.

Version

Introduced in version July 2015