well, you don't have to implement a whole program to test one specific
question.
the crux of the thing is that you need a reference to an AcadBlockReference
object
Depending on where the variable is declared, and where it is
"de-referenced", will determine if the variable is still "valid"
In other words its a matter of scope of your variable
Additionally, it depends on the life of the object which the variable points
to.
if you get a reference from dwg1 (makes absolutely no difference if it's
"active doc" or not) and then close dwg1 and *then* try to access the
variable of course it will not still be "alive"
The variable may not have gone out of scope but the object to which it
points has, so you end up with a pointer to a Null object...not a good thing
generally....
:-)
But ...(my rewording of your original question)....does a doc have to be
"ActiveDoc" to reference objects in the document.... the answer is no.
You could cycle through all docs in the documents collection and access all
objects in all docs at any time.
:-)
hth
Mark
wrote in message news:5773241@discussion.autodesk.com...
I had an idea that may take me a while to implement... but I really didn't
want to go down the road if it wouldn't work...