- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an interesting dilemma that I'm sure some of you may have run into before. I have an element that needs to have a defined minimum and maximum length associated with them.
I'm using a Length (user input length value) and Length Calc (this uses a nested if statement) set of length parameters.
Example: A user inputs 5' into Length and the element uses the Length Calc formula:
if(Length < 0', 0', if(Length > 3', 3', Length))
and everything works as it should by stopping the element at 3' instead of 5' that the user input.
My question is, how do I constrain the user input Length parameter from having a negative value as an option? As we all know once a length parameter goes into a negative value it breaks the component. In this specific example I'm running a dimension from a centerline so having a negative value from center is a real possibility.
Thanks in advance!!
Solved! Go to Solution.