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

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Retrieving AutoCADs Support Path
« Reply #1 on: July 31, 2007, 09:36:39 PM »
(setq supportPath (getvar "acadprefix"))
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://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.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.