NCProgram.deleteMe Method

Parent Object: NCProgram
Defined in namespace "adsk::cam" and the header file is <Cam/NCProgram/NCProgram.h>

Description

Deletes the operation from the document. In case of a setup or folder, all containing child operations will be deleted as well. Note: Child classes may overwrite this function and throw an exception if the object cannot be deleted.

Syntax

"nCProgram_var" is a variable referencing a NCProgram object.
returnValue = nCProgram_var.deleteMe()
"nCProgram_var" is a variable referencing a NCProgram object.

#include <Cam/NCProgram/NCProgram.h>

returnValue = nCProgram_var->deleteMe();

Return Value

Type Description
boolean Returns true if the delete was successful.

Version

Introduced in version May 2023