TimelineGroup.deleteObject Method

Parent Object: TimelineGroup

Derived from: TimelineObject.deleteObject


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

Description

Deletes this TimelineObject and its associated feature from the design. This method should not be used for TimelineGroup objects; use TimelineGroup.deleteMe() instead. Check the isDeletable property before calling this method.

Syntax

"timelineGroup_var" is a variable referencing a TimelineGroup object.

returnValue = timelineGroup_var.deleteObject()
"timelineGroup_var" is a variable referencing a TimelineGroup object.

#include <Fusion/Fusion/TimelineGroup.h>

returnValue = timelineGroup_var->deleteObject();
"timelineGroup_var" is a variable referencing a TimelineGroup object.

returnValue = timelineGroup_var.deleteObject();

Return Value

Type Description
boolean Returns true if the delete was successful. Returns false if this object is not deletable (for example a group child, a snapshot, or a TimelineGroup) without throwing.

Version

Introduced in version September 2026