Home › Forums › Nazca › Questions and Answers › Trace length › Reply To: Trace length
1 August 2018 at 17:25
#4795
Ronald
Keymaster
Dear Alvin,
The trace has moved to its own module.
Traces are registered for mask_elements and their derived elements like interconnects.
Below an example to get the geometrical length of some interconnects put or for a specific element by reference:
import nazca as nd
import nazca.trace as trc
import nazca.demofab as demo
trc.trace_start()
E1 = demo.deep.bend(angle=45).put()
E2 = demo.deep.strt(length=100).put()
trc.trace_stop()
print(trc.trace_length(), E2.length_geo)
output
158.904862255 100
Ronald