Is it possible to open saved layout in layout designer(print composer) with Python?
QGIS Python API:
openLayoutDesigner(self, layout: QgsMasterLayoutInterface) → QgsLayoutDesignerInterface
Opens a new layout designer dialog for the specified layout, or brings an already open designer window to the foreground if one is already created for the layout.
New in version 3.0.
I have tried iface.openLayoutDesigner("layoutname")
in python console, but I get error:
TypeError: QgisInterface.openLayoutDesigner(): argument 1 has unexpected type 'str'
I don't understand what argument 1 should be.