Hi,
I've run into a problem that seems to be a serious bug. In AC18 (tested only in that) I added a
values range [-A/2 + xSomeCalculatedValue1, A/2 - xSomeCalculatedValue2]
statement to a parameter script of a window sash. The xSomeCalculatedValue local variables were some ordinary dimensions.
But, since the default A (width) parameter set among the parameters of the sash macro, the lower limit happened to be higher than the upper value (A being smaller than xSomeCalculatedValue1 + xSomeCalculatedValue2), so the ArchiCAD crashed (didn't respond) . After restarts, since the stuff stayed there, all edit attempts were unsuccessful, so I would have throw the whole macro away for a small bug if I hadn't been able to convert it to XML and commenting the bad values line there and converting back to gdl.
I knew the trick but most don't.
The bug seemed to be a missing checking if lower_limit > upper_limit in the interpreter.
Note that I haven't tested it in newer versions, so the bug might be fixed.