Joint.jointMotion Property

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

Description

Returns a JointMotion object that defines the motion relationship between the two geometries.

Syntax

"joint_var" is a variable referencing a Joint object.
# Get the value of the property.
propertyValue = joint_var.jointMotion
"joint_var" Is a variable referencing a Joint Object.
#include <Fusion/Components/Joint.h>

// Get the value of the property.
Ptr<JointMotion> propertyValue = joint_var->jointMotion();
"joint_var" Is a variable referencing a Joint Object.
// Get the value of the property.
propertyValue = joint_var.jointMotion;

Property Value

This is a read only property whose value is a JointMotion.

Samples

Name Description
BallJointMotion API Sample

Demonstrates creating a joint with ball joint motion.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

CylindricalJointMotion API Sample

Demonstrates creating a joint with cylindrical joint motion.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Pin Slot Joint Motion API Sample

Demonstrates creating a joint with pin slot joint motion.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Planar Joint Motion API Sample

Demonstrates creating a joint with planar joint motion.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

RevoluteJointMotion API Sample

Demonstrates creating a joint with revolute joint motion.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

SliderJointMotion API Sample

Demonstrates creating a joint with slider joint motion.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version July 2015