create several cells in severals cellview

edited November 2017 in Ruby Scripting


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}" )



Sign In or Register to comment.