Checking exact size of shape

Most design rules would require the exact size for contact and via, and how to check it?
I think it is possible by checking both minimum and maximum as follows (this is the case of contact with exact size of 1.0um), and is there any simple way to perform it?

contact.width(1.0).output("smaller contact than 1.0um") contact.size(-0.5).size(0.5).output("larger contact than 1.0um")

Comments

  • Layer01 = input(1,0)

    Layer01.edges.without_length(1.0.um).output("SQUARE L1 FIXED", "Fixed L1 Square Size = 1.0um")

  • Very good. Cool solution :)

    I thought of bbox_min etc., but this is really elegant.

    Matthias

  • Thanks, that's cool!

Sign In or Register to comment.