TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: delkov on January 03, 2016, 04:41:00 PM

Title: [LISP] How to set path
Post by: delkov on January 03, 2016, 04:41:00 PM
Hello everyone!
I have an lisp routine  and I  wish that he might set the path. (the same when you install the program -> you select the path in window and then click "OK")
And assign a variable this path.

Is it possible?

Many thanks.
Title: Re: [LISP] How to set path
Post by: delkov on January 04, 2016, 04:34:05 AM
I want to obtain path by select folder and click OK (like at screen).
After, assign variable this path

What command I must to write to call this method?
Title: Re: [LISP] How to set path
Post by: bilançikur on January 04, 2016, 04:36:11 AM
Sure it is possible, why don't you start by giving us the code where you may want your modification?
Without it it is just plain guessing....

But this may get you started:
http://docs.autodesk.com/ACD/2013/ENU/index.html?url=files/GUID-AD65DF88-5218-4655-B877-B4D33B9FB6D1.htm,topicNumber=d30e615733

This...
(vl-filename-directory filename)

Title: Re: [LISP] How to set path
Post by: delkov on January 04, 2016, 04:49:20 AM
Thanks, one more solution by Lee-Mac:
http://www.lee-mac.com/directorydialog.html