TimelineGroups.itemByName Method

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

Description

Returns the timeline groups with the specified name. The name is the name shown in the browser/timeline (the value of TimelineGroup.name). Since timeline group names do not have to be unique, this can return more than one group.

Syntax

"timelineGroups_var" is a variable referencing a TimelineGroups object.

returnValue = timelineGroups_var.itemByName(name)
"timelineGroups_var" is a variable referencing a TimelineGroups object.

#include <Fusion/Fusion/TimelineGroups.h>

returnValue = timelineGroups_var->itemByName(name);
"timelineGroups_var" is a variable referencing a TimelineGroups object.

returnValue = timelineGroups_var.itemByName(name);

Return Value

Type Description
TimelineGroup[] Returns an array of matching TimelineGroup objects or null if no group with that name exists.

Parameters

Name Type Description
name string The name of the timeline group as displayed in the timeline.

Version

Introduced in version September 2026