Author Topic: Project File Search Path  (Read 1828 times)

0 Members and 1 Guest are viewing this topic.

Shade

  • Guest
Project File Search Path
« on: September 25, 2008, 02:05:13 PM »
Does anyone have a lisp that mimic the 'Options-->Files-->Project File Search Path' commands?

I find the command hard to find a little cumbersome to use.  :ugly: It needs some major improvements too.
So I am fishing before I attempt any thing to replace it.

Thanks
 :mrgreen:


CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Project File Search Path
« Reply #1 on: September 25, 2008, 02:19:57 PM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

VovKa

  • Water Moccasin
  • Posts: 1632
  • Ukraine
Re: Project File Search Path
« Reply #2 on: September 25, 2008, 04:34:03 PM »
read some
Code: [Select]
(vla-GetProjectFilePath
  (vla-get-Files (vla-get-Preferences (vlax-get-acad-object)))
  (getvar "PROJECTNAME")
)
and write some
Code: [Select]
(vla-SetProjectFilePath
  (vla-get-Files (vla-get-Preferences (vlax-get-acad-object)))
  (getvar "PROJECTNAME")
  "C:\\Work1;C:\\Work2"
)

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Project File Search Path
« Reply #3 on: September 25, 2008, 11:09:30 PM »
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox