How to get Inventor to export to a text file every time user hits a feature

How to get Inventor to export to a text file every time user hits a feature

amon_plyler_PW3PCRU65Q3A
Observer Observer
264 Views
1 Reply
Message 1 of 2

How to get Inventor to export to a text file every time user hits a feature

amon_plyler_PW3PCRU65Q3A
Observer
Observer

Hello All,

I'm interested in tracking my Inventor feature usage over about a week or so and would like the know if there is the capability in Inventor to have it export to a text file every time you use any features (ie. Extrude, Swee, hole, etc...) regardless of whether that feature is called by using the ribbon, hot key, or Marking Menu. 

 

I'd like to have each successive time the feature is called that instance is appended to the initially created text file. I believe I could then import this text file into excel at the end of the week and have it make a list of all the features called and count them.

 

I could then use this data to make sure I've optimized my hot keys and Marking Menu selections.

 

Kind Regards,

 

 

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

Frederick_Law
Mentor
Mentor

You need to trap the event: "UserInputEvent.OnActivateCommand".

This is what happen after: New File, New sketch, sketch, Extrude.

UserCommand-01.jpg

 

This will trap EVERY command.  Depends on how much your code do, it could slow down everything.

0 Likes