TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: crowellsr on July 31, 2007, 09:34:18 PM

Title: Retrieving AutoCADs Support Path
Post by: crowellsr 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
Title: Re: Retrieving AutoCADs Support Path
Post by: MP on July 31, 2007, 09:36:39 PM
(setq supportPath (getvar "acadprefix"))
Title: Re: Retrieving AutoCADs Support Path
Post by: T.Willey 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.