- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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)
.
If you want and have time, I would appreciate your Vote(s) for My IDEAS
or you can Explore My CONTRIBUTIONS
Wesley Crihfield
(Not an Autodesk Employee)