You are here:

AutoCAD/Problems loading menus

Advertisement


Question
Hello Bill,

Here goes. I am using AutoCAD 2006, and am having trouble with one of my custom menus. I have pull downs on this menu, and everytime I try to access one of the blocks I have on the pulldown I receive a "can't find file in search path."  I know it is in the correct path but it doesn't seem to be able to fins it.  I added it to the supportm filem searh path, and it still can't seem to find my blocks.  Any suggestions?

Liz

Answer
Use this to find the file
(findfile "myfile.dwg")
This code is not case sensitive.
Of course, put the name of the drawing in place of "myfile")
If you can't find it that way, perhaps the spelling of the file is different than what you are entering in the menu, or it's in a folder that is not in the Support File Search Path.  Another way to check your search path is:
(getenv "ACAD")
The above code IS case sensitive.
Also, make sure your current profile is the one in which you changed your Support File Search Path.

Keep in touch
Bill DeShawn
http://my.sterling.net/~bdeshawn

AutoCAD

All Answers


Answers by Expert:


Ask Experts

Volunteer


Bill DeShawn

Expertise

I can address all 2-D questions and some 3-D questions. I do programming in AutoLISP if it doesn`t involve solid modeling. I can also address menu customization issues and can help you find answers to questions I can`t answer by taking your question directly to Autodesk via their newsgroups.

Experience

I used to do electronic and mechanical design for a flat panel monitor manufacturer, and now I do architectural drafting for an architect. I did and do AutoLISP and menu customization and take pride in making my lisp routines to do the work exactly the way the client likes them done.

Publications
I had a routine published in CADENCE magazine (no longer in publication and taken over by CADALYST). Some of my routines are published on my website at http://my.sterling.net/~bdeshawn

©2012 About.com, a part of The New York Times Company. All rights reserved.