C++
ACAD_PORT int acedCmdUndefine( const ACHAR* cmdStr, int undefIt );
File
aced.h
Description
This function searches the command stack of registered commands for the command name cmdstr and if found sets (if undefit == 1) or unsets (if undefit == 0) the "undefine" bit in the command flags for that command. If the "undefine" bit is set, then AutoCAD will treat this command as though it is undefined in the same way that internal AutoCAD commands are treated if they have been undefined via the AutoCAD UNDEFINE command.
Note
acedCmdUndefine only works with ARX registered commands.
Returns 1 if successful or 0 if not.
Parameters
Parameters | Description |
---|---|
cmdStr | Input command name to search for |
undefIt | Input 1 or 0 to indicate whether to undefine the command or not |