Hi everyone!
Is there a formula that limits one parameter (Width) in accordance with another (Height).
I have a furniture family, where the end user can edit both Height and Width. But I want to insert a formula that does not allow them to put a Width that's bigger than Height. I am using Revit 2018.
I tried with this:
=if(Condition, Result-if-true, Result-if-false)
e.g. =if(Width>Height, Height, Width)
But since I don't have a Min and Max value this does not really apply.
So you want two Width Parameters - one where the user enters a value and the second one has the formula and drives the actual dimension.
Width 1 (User-Entered Value)=10
Width 2 (drives the Dimension the changes the width of the geometry)=If(Width 1>Height, Height, Width 1)
....you can do Min/Max this way: =if(or(Width 1<5, Width 1>10), Height, Width 1)
Revit Formulas for "everyday" usage (revitforum.org)
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.