My draworder tool bar buttons and pull down commands are not working. I click on them and get
Command: Unknown command "AI_DRAWORDER". Press F1 for help.
Command: Unknown command "FRONT". Press F1 for help.
This is the same issue for all of the draworder commands.
If I type draworder in the commande line I can get it to work. How do I restore my tool bar commands to get them to work?
Sorry if I cover old ground but you haven't said if you've tried anything yet.
Try closing and restarting Civil 3D. If that doesn't work try rebooting the computer. If neither of those work try doing a repair on the installation. A repair should do it if is the others don't. Make sure to backup customized files before the repair. Just in case.
My standard mantra is Restart, Reboot, Recover, Repair, Reinstall, Reinstall (clean), Retire.
Allen
Allen Jessup
Engineering Specialist / CAD Manager
I tried closing and restarting Civil 3D and rebooting the computer and none of those worked. I also tried resetting the civil and land cui and that didn't work. I have not done a repair yet. Where do I find the customized files that you said should be backed up?
If you or someone in your office hasn't done any customization yet, you probably don't have to worry about it. It's always a good idea to export your profile [Options > Profile Tab > Export]. If you're using an OOTB profile, those shown like this; <<profile>>, I'd suggest exporting to a new name like; Civil 3D 1.1 or whatever you like. After the repair, if things don't look like you want, import that profile.
If you use an Icon to start civil 3D. You might want to add that profile to the icon properties. You can also add your workspace.
"C:\Program Files\Autodesk\AutoCAD Civil 3D 2012\acad.exe" /ld "C:\Program Files\Autodesk\AutoCAD Civil 3D 2012\AecBase.dbx" /nologo /p "C3D Metric 2.0" /w "C3D2.0"
Allen
Allen Jessup
Engineering Specialist / CAD Manager
That's strange that a repair didn't fix it. You can check that the command properties still have ^C^C^P(ai_draworder "_f") ^P as the Command string in bring to front.
Allen
Allen Jessup
Engineering Specialist / CAD Manager
I'm not sure about the FRONT command, but the AI_DRAWORDER command is defined in the acad20##doc.lsp file. This file loads with each drawing. Since the AI_DRAWORDER command is not working, indicates that AutoCAD is not finding this file in the support file path, or it is finding the wrong one. For 2013, this file gets installed in the C:\program files\autodesk\autocad civil 3d 2013\support\en-us folder. To locate it on your computer, enter the following autolisp code on the command line: (findfile "acad2013doc.lsp")
David, based upon your comments I have solved the problem. I copied the file "acad2009doc.lsp" form the computer that was working properly and replaced the file on my computer. The Draworder commands are now working again. Apparently my file must have become corrupted or something. Thanks for the help as I had no idea which files contained the commands I was having problems with.
Glad you got it fixed. I'm surprised that the acad2009doc.lsp wasn't updated by the repair. Did you save the old file? It would be interesting to look at it and see if there is a difference.
Allen
Allen Jessup
Engineering Specialist / CAD Manager