I am trying to make a parameter where I have length A and length B.
Length B must be at least as long as length A but needs the ability to be longer than A.
I feel like it should be easy but I can't find it.
Gelöst! Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
Length A=User Entered Value. This Parameter drives Length of Geometry A
Length B=If(C>1/32", A+C, A). This Parameter drives Length of Geometry B
Length C=User Entered Value
Yes/No D=if(C>1/32", 1=1, 2=1)
B Geometry's Visibility Parameter is driven by Yes/No D Parameter.
...or do you just mean 2 individual geometries?
Length A: input parameter, assigned to geometry A if required
Length B: input parameter, not assigned to any geometry
Length C: parameter assigned to B geometry
Length C formula: = if (Length B > Length A, Length B, Length A)
Great this works!
But for my understanding the formula works as following?
If length B is bigger than Length A, Length B is true if not length A is true?
I'm just getting started with Revit and parameters so I'm still trying to figure it out.
Thank you very much ![]()
@Anonymous wrote:
Great this works!
But for my understanding the formula works as following?
If length B is bigger than Length A, Length B is true if not length A is true?
I'm just getting started with Revit and parameters so I'm still trying to figure it out.
Thank you very much
Your understanding is close enough.
If an user enters Length B with a value greater than Length A then the value is valid and will be used, if not greater then the value of Length A will be used.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.