Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Tool bar commands

11 REPLIES 11
Reply
Message 1 of 12
gscott
563 Views, 11 Replies

Tool bar commands

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?

Greg Scott, P.E.
11 REPLIES 11
Message 2 of 12
AllenJessup
in reply to: gscott

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

Message 3 of 12
gscott
in reply to: AllenJessup

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?

Greg Scott, P.E.
Message 4 of 12
gscott
in reply to: AllenJessup

Thanks for responding Allen. 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? Greg Scott, P.E.
Greg Scott, P.E.
Message 5 of 12
AllenJessup
in reply to: gscott

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

Message 6 of 12
gscott
in reply to: AllenJessup

Allen, I did a repair, rebooted and restarted AutoCad and still have the same problem. Not sure I want to go through the headache of re-installing yet. I guess as long as I can type in the command on the command line to get it to work then it isn't the end of the world. There should be an easy way to fix this though. I guess the next step is to retire. Thanks for your help. Greg Scott, P.E.
Greg Scott, P.E.
Message 7 of 12
AllenJessup
in reply to: gscott

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

Message 8 of 12
david.zavislan
in reply to: gscott

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 Zavislan, P.E. | Wood Rodgers, Inc.
Message 9 of 12
gscott
in reply to: AllenJessup

Hi Allen, Below is what my command properties are for this particular command under the ACAD source. Anything look out of order? It is slightly different than what you stated, but I should point out that we are using AutoCAD Civil 3D LDC 2009, if that makes any difference. I looked at the same one on another computer that works and it is the same thing as on my computer Greg Scott, P.E.
Greg Scott, P.E.
Message 10 of 12
gscott
in reply to: david.zavislan

Hi David, I should point out that we are still using AutoCAD Civil 3D Land Desktop Companion 2009, if that makes a difference. I found the file you referred to under C:\program files\AutoCAD Civil 3D Land Desktop Companion 2009\support. It is also under the C:\program files\AutoCAD Civil 3D 2009\support. There was no en-us under the support folder. The en-us is directly under the Autocad Civil 3D Land Desktop Companion 2009 folder. How do I determine if the AutoCAD is looking in the right file path or correct it if it is not? Greg Scott, P.E. >From David 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")
Greg Scott, P.E.
Message 11 of 12
gscott
in reply to: gscott

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.

Greg Scott, P.E.
Message 12 of 12
AllenJessup
in reply to: gscott

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report