OnNewDocument Application Event

OnNewDocument Application Event

Anonymous
Not applicable
387 Views
2 Replies
Message 1 of 3

OnNewDocument Application Event

Anonymous
Not applicable
Vb.net 2008
Inventor 2009 and 2010

In an assembly, I need to know when the OnNewDocument event fires if it was
fired because a user was mirroring a part in the assembly.

Is there a way to do this?
0 Likes
388 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Try checking the Application.CommandManager.ActiveCommand property during
the event. It should return a string that corresponds to the mirror command.

Sanjay-
0 Likes
Message 3 of 3

Anonymous
Not applicable
That solves my problem - thank you.



"Sanjay Ramaswamy (Autodesk)" wrote in
message news:6158116@discussion.autodesk.com...
> Try checking the Application.CommandManager.ActiveCommand property during
> the event. It should return a string that corresponds to the mirror
> command.
>
> Sanjay-
0 Likes