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: 

Event get active ribbon

2 REPLIES 2
Reply
Message 1 of 3
FRPT1257
255 Views, 2 Replies

Event get active ribbon

I need some action events...

 

There are some event to detect when an ribbon get active?

 

And when the document get focus/active?

 

Some C# sample code about use these events?

 

Thanks & Regards,

 

Rui

2 REPLIES 2
Message 2 of 3
santoshr0114
in reply to: FRPT1257

Hi Rui,

 

Check out the Event Watcher Application shipped along with Inventor. You can find it in SDK folder.

You will get a good understanding if you use this. The code is also inculded.

 

 

Regards
Santosh
Message 3 of 3

That's for the Ribbon, you won't find that in the Event Watcher:

 

http://adndevblog.typepad.com/manufacturing/2013/02/detecting-tab-activated-event-in-the-ribbon.html

 

And for the document, how about "ApplicationEvents.OnActivateDocument" ?

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report