Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Retrieving AutoCADs Support Path
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Retrieving AutoCADs Support Path (Read 1863 times)
0 Members and 1 Guest are viewing this topic.
crowellsr
Guest
Retrieving AutoCADs Support Path
«
on:
July 31, 2007, 09:34:18 PM »
Is there a way to retrieve AutoCAD's support path with LISP and store its location in a variable?
Steve
Logged
MP
Seagull
Posts: 17750
Have thousands of dwgs to process? Contact me.
WWW
Re: Retrieving AutoCADs Support Path
«
Reply #1 on:
July 31, 2007, 09:36:39 PM »
(setq supportPath (getvar "acadprefix"))
Logged
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.com
•
http://cadanalyst.slack.com
•
http://linkedin.com/in/cadanalyst
T.Willey
Needs a day job
Posts: 5251
Re: Retrieving AutoCADs Support Path
«
Reply #2 on:
July 31, 2007, 11:44:33 PM »
Code:
[Select]
(setq supportPaths (getenv "ACAD"))
Sidenote: posted while using the linux livecd from ZenWalk.org. Looks pretty cool right now, still looking around.
Logged
Tim
I don't want to ' end-up ', I want to ' become '. - Me
Please think about donating if this post helped you.
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Retrieving AutoCADs Support Path