Show Hide Image Overlay

edited February 2017 in General

I use klayouts image function to overlay defect maps. Is there a way to turn the image overlay on and off, preferably with a hot key, but I could probably figure out how to script it?

I like to turn the image overlay on and off at different zoom levels to identify pattern induced defects.

Thanks.

Comments

  • edited November -1

    Hi,

    you're right, a global hide/show images feature is missing.

    It's extremely easy to script however:

    # show all images
    lv = RBA::LayoutView::current
    lv && lv.each_image { |image| image.visible = true }
    

    and

    # hide all images
    lv = RBA::LayoutView::current
    lv && lv.each_image { |image| image.visible = false }
    

    You can save this as two scripts and bind keys to them using the "macro properties".

    Matthias

  • edited November -1

    I have created an issue on GitHub: https://github.com/klayoutmatthias/klayout/issues/4.

    Matthias

Sign In or Register to comment.