Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OnFileInsertNewDialog Event

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
365 Views, 2 Replies

OnFileInsertNewDialog Event

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

 

 

2 REPLIES 2
Message 2 of 3
cadull_rb
in reply to: Anonymous

Try Application.CommandManager.ActiveCommand.

 

Regards,

cadull

Message 3 of 3
Anonymous
in reply to: cadull_rb

Perfect.  Thank you.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report