CommandDefinition.deleteMe Method

Parent Object: CommandDefinition
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/CommandDefinition.h>

Description

Deletes this command definition. This is only valid for API created command definitions and will fail if the isNative property is true.

Syntax

"commandDefinition_var" is a variable referencing a CommandDefinition object.
returnValue = commandDefinition_var.deleteMe()
"commandDefinition_var" is a variable referencing a CommandDefinition object.

#include <Core/UserInterface/CommandDefinition.h>

returnValue = commandDefinition_var->deleteMe();

Return Value

Type Description
boolean Returns true or false indicating if the deletion was successful.

Version

Introduced in version August 2014