klayout icon indicating copy to clipboard operation
klayout copied to clipboard

Crash when clearing a Shapes container by script while a shape is selected

Open klayoutmatthias opened this issue 3 years ago • 0 comments

To reproduce:

  • Create a layout with one layer 1/0
  • Draw a box, select it
  • In the console run
ly = pya.CellView.active().layout()
canvas = ly.top_cell().shapes(ly.layer(1, 0))
canvas.clear()

Effect: the application crashes

klayoutmatthias avatar Aug 20 '22 09:08 klayoutmatthias