Add event handler

Add event handler

sripandian
Enthusiast Enthusiast
1,355 Views
1 Reply
Message 1 of 2

Add event handler

sripandian
Enthusiast
Enthusiast

I am looking to set up an event handler in Inventor to track time taken to rotate the big size part or assembly and time taken to give linear dimension in sketch ..... How to do it ? 

0 Likes
Accepted solutions (1)
1,356 Views
1 Reply
Reply (1)
Message 2 of 2

MechMachineMan
Advisor
Advisor
Accepted solution

Haven't done anything to do with tracking this stuff before, but where I would start is by seeing if I can find any examples surrounding this API call:

UserInputEvents.OnActivateCommand( CommandName As String, Context As NameValueMap )

Such as that found here:

 

http://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-A35CFD2C-9C89-4A9C-AF91-38E9A20B1938

 

Good luck!


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
0 Likes