C++
virtual void unknownCommand( const ACHAR*, AcDbVoidPtrArray * );
Description
This reactor allows applications to respond to users' attempts to execute commands that AutoCAD does not recognize. The al array contains pointers to AcadAppInfo objects, one for each registry entry found for the unknown command name, and any AcadAppInfo objects that were appended by other applications that already received this notification.
An application receiving this notification is allowed to review the AcadAppInfo objects in the al array, edit any it needs to, remove those it deems are inappropriate, and add its own if desired. Once all reactors attached to the AutoCAD editor have been notified, AutoCAD uses the first AcadAppInfo object in the al array to get the information on what to do to deal with the unknown command.
cmdStr may be up to 257 characters (including the string terminator).
Parameters
| Parameters | Description |
|---|---|
| cmdStr | Passed in string of the unknown command being executed |
| al | Passed in array of pointers to AcadAppInfo objects one for each possible supporter of this unknown command; can be modified by an application |