Thanks for you help, I finally found it. But, I am a bit confused, (nothing
unusual about that). I would like to be able to detect when a document
inside of Inventor is changed. I had a program running, which of course
checked if there was an assembly open and all worked fine. However, I
closed the assembly, and happened to see what would happen if I tried the
program again and the result is an error, (actually there was no Inventor
document open but Inventor was still running and my macro was still
running)..
It seems like the best way to prevent this is to have a "master routine"
which detects what the active document type is and to disable or enable
buttons accordingly. This could actually be pretty clean. Another
potential situation is to open a part file while in an assembly.
Thanks,
EdT
"Kent Keller" wrote in message
news:2E446DF4EC16858D0EEEAD4CBFFD6064@in.WebX.maYIadrTaRb...
> I will go one further <----a Very Big Grin Anne
>
> Try this
>
> http://makeashorterlink.com/?K29752D84
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
> "Anne Brown" wrote in message
> news:3EC139C8.38EBF4DB@autodesk.com...
> > Well if Kent or I would be more specific, it would help you a lot
> > <--a grin Kent!
>
>