Timeline.item Method

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

Description

Function that returns the specified item in the timeline using an index into the collection. The items are returned in the order they appear in the timeline.

Syntax

"timeline_var" is a variable referencing a Timeline object.
returnValue = timeline_var.item(index)
"timeline_var" is a variable referencing a Timeline object.

#include <Fusion/Fusion/Timeline.h>

returnValue = timeline_var->item(index);

Return Value

Type Description
TimelineObject Returns the specified item or null if an invalid index was specified.

Parameters

Name Type Description
index uinteger The index of the item within the collection to return. The first item in the collection has an index of 0.

Samples

Name Description
Extrude Feature API Sample Demonstrates creating a new extrude feature.
Ruled Surface Feature API Sample Demonstrates creating a new ruled surface feature.

Version

Introduced in version August 2014