Custom button to change automatic save path location

Custom button to change automatic save path location

jeremie_dupuis-lacasse
Participant Participant
344 Views
3 Replies
Message 1 of 4

Custom button to change automatic save path location

jeremie_dupuis-lacasse
Participant
Participant

I'm looking for a way to have a custom button to change the automatic save path.  Something like:

 

(setvar "SAVEFILEPATH" (C:\ACAD\Client 1))

 

I'm realy new to customizing Autocad even tough I have worked in it for years!

0 Likes
Accepted solutions (1)
345 Views
3 Replies
Replies (3)
Message 2 of 4

Moshe-A
Mentor
Mentor
Accepted solution

@jeremie_dupuis-lacasse  hi,

 

this would work 😀

 

(setvar "SAVEFILEPATH" "C:\\ACAD\\Client 1"))

 

Moshe

 

0 Likes
Message 3 of 4

jeremie_dupuis-lacasse
Participant
Participant

Hey Thanks! I new I was close!

0 Likes
Message 4 of 4

Kent1Cooper
Consultant
Consultant

You can also use single forward-slashes, instead of double back-slashes, for filepath separators inside AutoLisp functions, but they must be one or the other of those choices.  A single back-slash is a trigger for various things depending on what follows, so it needs to be followed by another one in that situation, if not replaced by one slanting in the other direction.

Kent Cooper, AIA
0 Likes