Change Default Directory

tracihabergham

Usenet Archive
Joined
Jan 7, 2004
Messages
5
Reaction score
0
Hi There,

I am trying to write a lisp routine and half way through I want to insert a raster image using the image command. Is there a way of making the image command look at a certain directory everytime?

Thanks Traci
 
You can use the (getfiled) function for this.
Example:
(setq img_file (getfiled "Select Image File" "" "jpg" 2)) Should give you a browse dialog, pick the image file, returns value for img_file = "Formal\\Path\\filename.jpg"

Bob
 

Latest threads

Back
Top