Gary J. Orr
Usenet Archive
- Joined
- Jul 31, 2003
- Messages
- 28
- Reaction score
- 0
I am trying to open a given drawing using vla-open and am overlooking some very basic concept... Any suggestions will be appreciated. My current process is:
(setq newacadapp (vlax-create-object "AutoCad.Application")) (vla-put-visible newacadapp "true");this line will be removed to make this invisible to the user (setq currdocs (vla-get-documents newacadapp))
;;;(vla-open newacaddwg)
;;;(setq dwgobj (vla-open "H:\\03proj\\12345\\dwgs_04\\a\\12345a101.dwg")) ;;;or ;;;(vla-open dwgobj)
(setq thisacaddwg (vla-get-activedocument newacadapp))
;;;get some info here...
(vla-close thisacaddwg)
(vlax-release-object newacadapp)
or something along those lines.
Thanx much
(setq newacadapp (vlax-create-object "AutoCad.Application")) (vla-put-visible newacadapp "true");this line will be removed to make this invisible to the user (setq currdocs (vla-get-documents newacadapp))
;;;(vla-open newacaddwg)
;;;(setq dwgobj (vla-open "H:\\03proj\\12345\\dwgs_04\\a\\12345a101.dwg")) ;;;or ;;;(vla-open dwgobj)
(setq thisacaddwg (vla-get-activedocument newacadapp))
;;;get some info here...
(vla-close thisacaddwg)
(vlax-release-object newacadapp)
or something along those lines.
Thanx much