I haven’t been able to figure out how to find the width of a pin. Is there a way to read the information, something like typing cellname.pin[‘a0’].width? This would help me design some custom connector functions by just passing cells or pins and not explicitly adding a pin width. Having to specify the pin width in two places increases chances of error.
Note that from Nazca >0.5.12 there will be a pin.radius attribute to store the radius directly in the pin. This also allows pin2pin DRC on connections, in addition to xs, width, angle and symmmetry checks.