AsBuiltJointInput.setAsPlanarJointMotion Method

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

Description

Defines the relationship between the two joint geometries as a planar joint.

Syntax

"asBuiltJointInput_var" is a variable referencing an AsBuiltJointInput object.
# Uses no optional arguments.
returnValue = asBuiltJointInput_var.setAsPlanarJointMotion(normalDirection)

# Uses optional arguments.
returnValue = asBuiltJointInput_var.setAsPlanarJointMotion(normalDirection, customNormalDirectionEntity, customPrimarySlideDirection)
"asBuiltJointInput_var" is a variable referencing an AsBuiltJointInput object.

#include <Fusion/Components/AsBuiltJointInput.h>

// Uses no optional arguments.
returnValue = asBuiltJointInput_var->setAsPlanarJointMotion(normalDirection);

// Uses optional arguments.
returnValue = asBuiltJointInput_var->setAsPlanarJointMotion(normalDirection, customNormalDirectionEntity, customPrimarySlideDirection);

Return Value

Type Description
boolean Returns true if the operation was successful.

Parameters

Name Type Description
normalDirection JointDirections Defines the direction of the normal of the single degree of rotation. This can be set to XAxisJointDirection, YAxisJointDirection, ZAxisJointDirection, or CustomJointDirection. If set to CustomJointDirection then the customNormalDirectionEntity argument must also be provided.
customNormalDirectionEntity Base If the normalDirection is CustomJointDirection this argument is used to specify the entity that defines the direction of the normal. This can be several types of entities that can define a direction.

This is an optional argument whose default value is null.
customPrimarySlideDirection Base This arguments defines the direction of the primary slide direction. A default primary slide direction is automatically chosen and will be used if this argument is not provided or is null. The secondary slide direction is automatically inferred from the normal and primary slide directions.

This is an optional argument whose default value is null.

Version

Introduced in version September 2015