OnFileInsertNewDialog Event

OnFileInsertNewDialog Event

Anonymous
Not applicable
577 Views
2 Replies
Message 1 of 3

OnFileInsertNewDialog Event

Anonymous
Not applicable

I have added a custom dialog to replace the default 'Create In Place' dialog by handling the OnFileInsertNewDialog Event.

 

But now I see that the 'Shrinkwrap' command also uses that event.

 

Is there any way in the event handler to tell what command caused the event, Create or Shrinkwrap?

 

Inventor Professional 2013

 

 

0 Likes
Accepted solutions (1)
578 Views
2 Replies
Replies (2)
Message 2 of 3

cadull_rb
Advocate
Advocate
Accepted solution

Try Application.CommandManager.ActiveCommand.

 

Regards,

cadull

0 Likes
Message 3 of 3

Anonymous
Not applicable

Perfect.  Thank you.

 

0 Likes