Home Forums Nazca Questions and Answers Where can I set straight-to-bend waveguide offset Reply To: Where can I set straight-to-bend waveguide offset

#4536
alvin
Member

Thanks Ronald. This has been very helpful. I have been building my own PDK like the follows.

sifab = nd.add_xsection(name='sifab')
sifab.os = 0.0
nd.add_layer2xsection(xsection='sifab', layer=1, accuracy=0.0001)
nd.add_layer2xsection(xsection='sifab', layer=2, accuracy=0.0010, growx=10)
wg = nd.interconnects.Interconnect(width=0.5, radius=20, xs='sifab')

If later on, I want to recall the value of ‘growx’ in layer 2 of ‘sifab’, how can I do that?