MotionLinks.itemByName Method

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

Description

Function that returns the specified MotionLink using a name.

Syntax

"motionLinks_var" is a variable referencing a MotionLinks object.
returnValue = motionLinks_var.itemByName(name)
"motionLinks_var" is a variable referencing a MotionLinks object.

#include <Fusion/Components/MotionLinks.h>

returnValue = motionLinks_var->itemByName(name);

Return Value

Type Description
MotionLink Returns the specified item or null if an invalid name was specified.

Parameters

Name Type Description
name string The name of the item within the collection to return.

Version

Introduced in version November 2025