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

Knowing when a parameter is deleted

Hello all, 

 

I'm trying to write a bit of code that will notify me whenever a parameter is deleted. However it seems like there isn't an event that completely covers this case. Modeling events does include an on delete event but this will only allow me to know a parameter is being deleted when it is a user parameter or consumed by a part / assembly feature. This doesn't seem to apply to such things as sketch dimensions or constraints. Is there a specific event or method that I can use to notify me whenever a parameter is deleted? Or a way to inspect any object returned to see if it contains one or more parameters as members?