Ruler templates

Hi Matthias,

I recently updated from version 0.27 to 0.28.17 and I noticed that my ruler templates are not showing up anymore, although I can still find them back in the "klayoutrc" file. Has something changed, are they stored somewhere else?

Cheers,

Tomas

Comments

  • edited June 2024

    Ok, I found, there's a "ruler-templates-v2" now...

    Cheers,

    Tomas

  • Well, yes.

    There are new ruler attributes and Multi-Segment rulers. I could not keep the format backward compatible, so I renamed the element.

    Honestly, I thought dropping some homemade ruler templates is not a big loss :(

    Sorry for the inconvenience.

    Matthias
  • Hi Matthias,

    I can confirm that it does only take a few minutes to add them again, so not a big issue :D
    Just a minor note: for the existing "Ellipse" and "Box" rulers I always change the "Angle constraints" from "Use global setting" to "Any angle" as you cannot draw a box in orthogonal mode...

    Cheers,

    Tomas

  • edited July 2024

    You're right. Thanks for the note. That makes sense :)

    I created a ticket for that: https://github.com/KLayout/klayout/issues/1768

    Matthias

Sign In or Register to comment.