Is there a way to get a list of all the drawings that are currently open using lisp?
Is there a way to get a list of all the drawings that are currently open using lisp?
Here is one way.
Code:(vlax-for x (vla-get-documents (vlax-get-acad-object) ) (princ (strcat "\n" (vla-get-name x) ) ) )
When you say "list", do you want a list of dwg filenames or com objects. Rk's given you a clue how to do either. Just be warned that you won't be able to work with those DWG's easily using Lisp.
Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!