Occurrence.deleteMe Method

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

Description

Deletes the occurrence from the design. If this is the last occurrence referencing a specific Component, the component is also deleted.

Syntax

"occurrence_var" is a variable referencing an Occurrence object.
returnValue = occurrence_var.deleteMe()
"occurrence_var" is a variable referencing an Occurrence object.

#include <Fusion/Components/Occurrence.h>

returnValue = occurrence_var->deleteMe();

Return Value

Type Description
boolean Returns true if the delete was successful.

Samples

Name Description
Delete Empty Components Deletes empty components from the active design.

Version

Introduced in version August 2014