As some of you may know, the VisualLisp ActiveX
vla-GetVariable does not work when dealing with unopened drawings
ie drawings referenced in this manner:
;; Create a reference to the ObjectDBX object
;; Open an external drawing file
(setq masterPath
(findfile "K:\\_VisualLispProjects\\cts-startup\\Startup-test.dwg")) (acdbm
-open dbxSourceDoc masterPath
)
I have a case where I require several variable values from unopened drawings.
Thankfully I had my c# hat handy
As a bonus, the routine is not affected if the drawing is simultaniously referenced using
ObjectDBX.AxDbDocumentI'll clean-up and post the code when I get a chance if anyone is interested.
Some days are diamonds ...