Hello,
I need to know when the user selects the Home Tab (ZeroDoc).
The events : OnActivateDocument / OnDesctivateDocument don't raise when I select Home tab.
How could I manage this ?
Thanks a lot
Solved! Go to Solution.
Solved by Kreshnik.HASANI. Go to Solution.
Would checking if no document is open and inventor is running be suitable through VBA? I would think that the only place you could be is on the home tab?
Here is a post where user activated the home button.
I don't think that would work either, because I generally don't use the 'My Home' tab, so when I close my last document, there are simply no tabs left (black screen), but Inventor is still open. I am still unsure if it is possible to detect that event or not though.
Wesley Crihfield
(Not an Autodesk Employee)
The only Event I can think of that might be worth looking into right now might be the 'UserInterfaceEvents.OnEnvironmentChange' event. I'm still not sure that would do the trick either though, but you can investigate into it further if you want.
Wesley Crihfield
(Not an Autodesk Employee)
Hi,
Thanks for your help.
I added a ribbon panel in ZeroDoc, Assembly, Part and Drawing.
I wanted to disable some buttons where the user is in Home tab.
As I can't get the event when user select Home tab, I choose to show only the activated buttons in the ZeroDoc Ribbon.
Can't find what you're looking for? Ask the community or share your knowledge.