Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dearch and open a drawing 1

Status
Not open for further replies.

gelengman

Mechanical
Feb 28, 2003
4
Is there a way to create an AutoLisp program that will search through folders for a given drawing file.

The findfile function will confirm whether a file exists in a given folder, but I would like to search through a number of folders without explicitly stating which folder(s) to look in.

Do I have to use VBA instead?

I am presently using AutoCAD 2000
 
Replies continue below

Recommended for you

OK, so I have made a typo on the subject!

Should read Search and Open a drawing
 
In AutoCad, click "File" and "Open". Then, click "Tools" and "Find". Autocad can search your drive(s) for a file, like Windows explorer.
 
Your right of course and maybe I'm looking for some sort of Utopia, but what I would like to do is press an icon, type in a drawing number and have the file located + loaded - Useful if you want a drawing while on the phone etc..

Of course, I would have to have some sort of check that there was not two drawings of the same filename.

I have written a lisp in the past that looked in a pre-set list of folders, however I now work in a project based environment with ever-changing folders.

Any thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor