TimelineGroup.canReorder Method

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

Description

Checks to see if this object can be reordered to the specified position. The default value of -1 indicates the end of the timeline.

This method will fail if this is a timelineGroup object and the group is expanded.

Syntax

"timelineGroup_var" is a variable referencing a TimelineGroup object.
# Uses no optional arguments.
returnValue = timelineGroup_var.canReorder()

# Uses optional arguments.
returnValue = timelineGroup_var.canReorder(beforeIndex)
"timelineGroup_var" is a variable referencing a TimelineGroup object.

#include <Fusion/Fusion/TimelineGroup.h>

// Uses no optional arguments.
returnValue = timelineGroup_var->canReorder();

// Uses optional arguments.
returnValue = timelineGroup_var->canReorder(beforeIndex);

Return Value

Type Description
boolean Returns true if the object can be reordered to the specified position

Parameters

Name Type Description
beforeIndex integer The index number of the position in the timeline to check

This is an optional argument whose default value is -1.

Version

Introduced in version August 2014