MotionLinks.add Method

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

Description

Creates a new MotionLink.

Syntax

"motionLinks_var" is a variable referencing a MotionLinks object.
returnValue = motionLinks_var.add(input)
"motionLinks_var" is a variable referencing a MotionLinks object.

#include <Fusion/Components/MotionLinks.h>

returnValue = motionLinks_var->add(input);

Return Value

Type Description
MotionLink Returns the newly created MotionLink or null in the case of failure.

Parameters

Name Type Description
input MotionLinkInput The MotionLinkInput object that defines various inputs that fully define a MotionLink. A MotionLinkInput object is created using the MotionLinks.createInput method.

Version

Introduced in version November 2025