Message 1 of 3
How to detect if user has changed a modelParameter

Not applicable
04-26-2017
12:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to create a model that is fully parametric, so the user can fiddle with parameter values to get the exact shape they want. Problem is, if the parameters of certain features are changed, some operations have to be performed again for the model to look okay. I'm wondering how to detect if a parameter has been changed so I can schedule those operations. Here's an example of an out-of-the-box model with 3 pegs:
If the user changes the countU of the pattern to, say, 5:
How can I say that if the user changes this parameter, perform the extrusion of the central hole again?