If I generate a standalone Layout, is it possible to load the Layout into a LayoutView?
For instance, I have a script that generates a layout, but I decide that I want to view the layout that was generated.
Would I have to copy the cell data in the layout into a layout generated by main_window.create_layout(1)? Or is there a way to load the layout into an existing LayoutView?
Comments
Hello,
yes, there is a way to show an existing layout and add it to the layout view: LayoutView#show_layout.
If you want to open a new view with your layout, you can create an empty one with MainWindow#create_view first and add your layout to this view then.
Matthias
Thanks, Matthias!