It looks like you're new here. If you want to get involved, click one of these buttons!
I am encountering an issue with the CellView::filename status. When I read a file with MainWindow::load_layout the return of
pya.CellView().active().filename() gets the filepath associated with the layout behind the cellview as described in the doc.
When I try to read a file with the following way the return of that getter is empty:
main_window = pya.Application.instance().main_window() main_window.create_view() layout = pya.Layout() layout.read(filepath) main_window.current_view().show_layout(layout, False) ... pya.CellView().active().filename() # returns empty string
I am missing something, or if it is a bug (?), do I have alternatives to set the filepath on the layout?