Sorry for flooding, I figured out how to do this:
A = input(1)
A.holes.extent_refs(0.0, 0.0, 1.0, 1.0, as_edges).with_length(whatever.micron)
Hope that it will be helpfull for someone :smile:
The one that looks suitable is length. But it returns real data (float or unsigned integer). So I've not found the examples of how we can sort the elements by they real dimension in context of DRC: here is no available conditional structure such as …
I've figured out how to return diameters of the holes:
A = input(1)
A.holes.extent_refs(0.0, 0.0, 1.0, 1.0, as_edges)
But what could be next? How to check it?