DRC width, minimum and maximum

edited December 2023 in Ruby Scripting

Hi all,
I'm trying to run a DRC on polygon widths using the command width.
I found that by using this code: out = in.drc(width<value.um) all the edge pairs that are below value are correctly returned
but the way around: out = in.drc(width>value.um), instead, doesn't return any edge pairs above value. Am I doing something wrong?
Second question, is it possible to get separate returns for vertical edge pairs and horizontal edge pairs? Basically I'd like to run dr checks on polygons' lengths and widths separately. One rule that returns the width check (y-direction) and another rule that returns the length check (x-direction)
Thank you



Sign In or Register to comment.