Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi
I have made a layout file and created a parameter.
Now the value of this parameter are varying from 100 to 350.
I have declared this layout in a model and used this parameter in a model, but the problem is the model fails if the value fall below 250.
So I want to enter a relation in such that regeneration of this model stops when this value falls below 250.
How to go about it?
Solved! Go to Solution.
Create a second parameter in you model that actually controls the geometry. Then create a relation that uses the layout value to drive the local parameter, but only when the layout value is greater than 250.
IF LAYOUT_PARAM >= 250
LOCAL_PARAM = LAYOUT_PARAM
ELSE
LOCAL_PARAM = 250
ENDIF
Create a second parameter in you model that actually controls the geometry. Then create a relation that uses the layout value to drive the local parameter, but only when the layout value is greater than 250.
IF LAYOUT_PARAM >= 250
LOCAL_PARAM = LAYOUT_PARAM
ELSE
LOCAL_PARAM = 250
ENDIF