Currently ADOxx expects a concrete numeric value by the specification of the PEN element, setting these dynamically is not possible. A dynamic view can be implemented using IF ELSE statements and set the PEN for each case.
From the specification of GRAPHREP syntax the following applies
1PEN [ style: PenStyle ] [ w: width ] ...
In this case a width value is expected.
1RECTANGLE [ x: xposExpr ] [ y: yposExpr ] [ w: widthExpr ] [ h: heightExpr ]
In this case a width expression is expected.
We will further investigate this issue and analyse if a change of the behaviour is feasible for the next platform release.