"C" can't be a parameter.
Can you give us some real world examples/numerical values to work with.
I'm not quite sure this solve your problem.
I've made a second parameter b=B in order to apply two formulas - one being yours , the other a IF parameter.
Constantin Stroescu
The issue with constraints is leaving Revit an option for flexing the family without the dreaded over constrained warning. You have to decide which values are variables the user can provide and what Revit is free to calculate. In my example I've decided that the user can provide C (overall length) and A which is half of what is left over after you subtract the value for B*2. The IF statement subtracts 2 x A from C then divides by 2; it decides if that result is less than 4000. If it is then it forces 4000 and if it isn't it just uses the value of the original calculation.
Edit: Looks like Constantin beat me to it...
Steve Stafford
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.