Share

"Unknown command AI_DRAWORDER" when trying to use one of the DRAWORDER commands in AutoCAD products

Technical Support

Issue:

When trying to use one of the DRAWORDER commands in AutoCAD products, the command doesn't work and the following message is displayed on the command line:

Command: Unknown command "AI_DRAWORDER". Press F1 for help.


unknown command
This issue may be seen after a Recover of the drawing.

Solution:

Follow these steps:
  1. CUI to enter the Customized User Interface.
  2. In the Command List, search for all Draw Order commands.
Image shows the Command List.
  1. Select the affected command and view the Macro for it under Properties.
The image portrayes the Command Properties.
  1. Remove the "_ai" from the Macro. For example, the Macro for the AutoCAD command, "Draw Order, Bring to Front", would be edited from ^C^C^P_ai_draworder _Front ^P to ^C^C^P_draworder _Front ^P
  2. Repeat this process for all affected Draw Order commands.
Note: The number of Draw Order commands that you see in Step 2 will depend on how many Workspaces you have defined. 
 

Products:

AutoCAD Products;

Was this information helpful?