Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
It would be useful to have the ternary operator "(condition)?true:false" to address those occasional parametric needs that can't be easily kludged with nested min/max functions.
It is kludgy, but one can do a closer approximation of this function than nested min/max using the sign() function. One must arrange the test to return a positive or negative value. Then multiply one expression by sign(test) and another by sign(-test) and add them together. One sign() will be 0 and the other 1. One of the two expressions will be adding 0 and the other 1 x the desired expression.
However, it would much clearer and not so kludgy if there was a Ternary operator.