I found that the problem is with line 1004-1008 of the xsection script. Unfortunately, I can't adjust the script itself, since it's part of a package. Adjusting these lines to below fixed the problem:
@extend = (3.0 / @dbu + 0.5).floor.to_i@delta =…
Thanks! I have no intention of rewriting the nettracer functionality, but with what you just told I think it should be doable to accomplish the goal without too much pain.
I think I found it. The absolute transformation of the selection is already contained in s.trans(). This gives the following code, which is able to extract the name of a selected shape.
import pyaimport mathlv = pya.LayoutView.current()ly = pya.Cel…