TimelineObject.deleteObject Method

Parent Object: TimelineObject
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/TimelineObject.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

"timelineObject_var" is a variable referencing a TimelineObject object.

returnValue = timelineObject_var.deleteObject()
"timelineObject_var" is a variable referencing a TimelineObject object.

#include <Fusion/Fusion/TimelineObject.h>

returnValue = timelineObject_var->deleteObject();
"timelineObject_var" is a variable referencing a TimelineObject object.

returnValue = timelineObject_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