Plot Event

Plot Event

Anonymous
Not applicable
327 Views
1 Reply
Message 1 of 2

Plot Event

Anonymous
Not applicable

Could anyone tell me how to watch for the plot event in an Idw? I have application save and open events working but can't find the plot event. Thank You. Jeff Ross

Inventor 2011

windows7

0 Likes
328 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

I discovered that I needed to add
Private WithEvents m_InputEvents As Inventor.UserInputEvents
to my StandardAddInServer class and
m_InputEvents = m_inventorApplication.CommandManager.UserInputEvents
to my activate sub.
Then I could code the
m_InputEvents_OnActivateCommand
to watch for the AppFilePrintCmd command.
Seems like a little overhead to watch all commands just for this.  I'm thinking
about just coding a special button instaed of watch all commands. Not Sure.

Inventor 2011
Windows 7 32bit

0 Likes