It looks like you're new here. If you want to get involved, click one of these buttons!
Hello,
I have tried to create several cells in severals layout, but I don't know how to handle the cellview creation : here is a part of my Ruby script :
app = RBA::Application.instance
mw = app.main_window
for l in (1 .. 16) do
# create a new layout
mw.create_layout( (l).to_i )
layout_view = mw.current_view
### create a new layer in that layout
cv = layout_view.cellview(0).create
layout = cv.layout
# layout = layout_view.active_cellview.layout
### create a top cell
wafer = layout.add_cell( "wafer_#{l}" )
end
Comments
Sorry to reply to myself, but I solved by mistake my problem :
Why 1 ? I still don't know.
Laurent
Hi Laurent,
the documentation of MainWindow#create_layout explains the meaning of the argument.
Matthias