When using a map file to load LEF/DEF and a VIA:SIZE is given, the tool appears to require a particular order of dimensions. Other tools do not have this requirement and I think KLayout should not either.
For an example, I took testdata/lefdef/viasize and hacked up two map files where the only different in the order to the dimensions:
< VIA1 VIA:SIZE:0.02x0.024 8 2
---
> VIA1 VIA:SIZE:0.024x0.02 8 2
If I import I get different results for the bar cut shape:
Ok:

Fail:

When using a map file to load LEF/DEF and a VIA:SIZE is given, the tool appears to require a particular order of dimensions. Other tools do not have this requirement and I think KLayout should not either.
For an example, I took testdata/lefdef/viasize and hacked up two map files where the only different in the order to the dimensions:
If I import I get different results for the bar cut shape:
Ok:

Fail:
