How To Resolve Conflicting DC Inputs
-
Let's say I have a dynamic roof component. There are several ways to specify a slope: rise/run, pitch, or angle.
If I use a formula to calculate the slope angle ( atan(rise/run) ) can I also allow the user to input the angle? And how do I resolve the conflict of wanting to be able to calculate the angle if the rise/run is given; and calculating the rise/run when the angle in given?
Hope that makes sense.
-
Perhaps you could use an if() to identify what the users put in? certainly wouldnt be fool proof, though.
Advertisement