It looks like you're new here. If you want to get involved, click one of these buttons!
Hello. Klayout newbie here. I have a silly question.
So I tried to create a shape in my existing layout. Below is the script.
app = RBA::Application.instance
mw = app.main_window
lv = mw.current_view
cv = lv.active_cellview
# define points in the shape here
circle = Polygon.new(pts)
Then there is an error saying shapes is not a method for cellview. I guess defining cv as lv.active_view doesn't make cv a cell object. How can I point to the current cell and create a shape then?
I browsed many examples. Most of them start by creating a cell, which doesn't apply here.