Joint.geometryTwoTransform Property

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

Description

Returns the position and orientation of the joint geometry associated with the second occurrence. This is returned as a 3D matrix which provides the origin and the X, Y, and Z axis vectors of the coordinate system.

This property is especially useful in cases where the JointGeometry cannot be obtained. This can happen when the model has been modified in a way where the geometry used to create the joint is no longer available.

Syntax

"joint_var" is a variable referencing a Joint object.

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

// Get the value of the property.
Ptr<Matrix3D> propertyValue = joint_var->geometryTwoTransform();

Property Value

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

Version

Introduced in version November 2024