Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Hi @jmacapagal2CD9H.  I don't think there is currently an event for that specific action that we have access to through the API right now.  We have events for OnNewOccurrence, OnOccurrenceChange, and OnAssemblyChange, but none of those are specifically for when you 'insert/place' or 'add' a component to an assembly.  I believe the OnNew event is just for when you 'create a component' using the tool for that, so I don't think it gets fired when you just insert/place a component into the assembly.  Even the two events listed in the Event Triggers dialog related to assembly components are just for 'change' events, not insert/add.  I would think that the OnAssemblyChange one would be fired by this event (but would also likely be fired/triggered by other types of assembly related events).  And the online documentation for using that event handler code doesn't explain what to expect within its 'Context' parameter.

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) :thumbs_up:.

If you want and have time, I would appreciate your Vote(s) for My IDEAS :light_bulb:or you can Explore My CONTRIBUTIONS

Wesley Crihfield

EESignature

(Not an Autodesk Employee)