I can't be the only one this drives nuts... Why can't the parameter system work simply and correctly without having to jump through hoops trying to get units to convert correctly?
Here's a pretty simple example:
Dist = 18.773015 in
Adder = 3.000000 in
Len_Suggested = ceil(Dist + Adder) = 22.047244 in
Uh no... that should be 22.000000 in
Anyhow, to get it to work correctly you have to use:
Len_Suggested = ceil(DIST_HYP / 1 in + LEAD_ADDER / 1 in) * 1 in = 22.000000
Who in the world, by choice, would actually want to write formulas that require you to multiply stuff by 1 in and divide by 1 ul to get the correct answer? How does this make my life easier, Autodesk?
Treat parameter values as simple integers and real numbers during calculation and get rid of all the units junk except for display purposes. That's what almost every other application does (including existing iLogic functions)
Grrr.