Why after running script the layout layer all become invisible?

After I running this script below,all the layout pattern can't be seen.I wonder how to fix this.(Klayout version 0.29.10)

`tiles(3000.um)
threads(8)

final_metal=input(110,0)
die=input(71,0)

#

anser_list = Array.new()
anser_list << "Outer_SealRing"
anser_list << "Inner_SealRing"

seal_case=RBA::InputDialog::ask_item("need type", "SealRing type:",anser_list,1)
if seal_case=="Outter_SealRing" then
seal_ring_type=1
end

if seal_case=="Inner_SealRing" then
seal_ring_type=2
end

#

tone_list = Array.new()
tone_list << "pTone"
tone_list<< "nTone"

tone_case=RBA::InputDialog::ask_item("input final metal", "tone type:",tone_list,1)
if tone_case=="pTone" then

end

if tone_case=="nTone" then
final_metal=die-final_metal
end

#

flat
sealring_gap=15

seal_ring=final_metal.outside(die.sized(-sealring_gap*10.um))
seal_ring.holes.merged(seal_ring_type).output(111,0)`

Comments

  • I know nothing about scripting but somehow
    this doesn't look like it takes action to save the
    revised / product layout. Or where does the
    produced data end up? As part of the source
    layout (as none is declared or opened)?

    Does your layertable have layer 111 in it, and
    visible / valid? Perhaps it was invisible & invalid
    for lack of content, and never got "woken up"?

  • Hi @illyjustfine,

    I am releasing 0.29.11 version right now. There was a bug that may have triggered this issue (https://github.com/KLayout/klayout/issues/1955).

    Can you try with 0.29.11 version?

    Thanks,

    Matthias

  • Hi @Machine,
    The new version solved my problem,thanks for your help.

Sign In or Register to comment.