How can I show/open layout '2019_A' of Layout Manager from Python console?
How show window layout specific?
I checked in menu Interface Customization, mActionShowLayoutManager and I do not know how to call from Python console.
Kadir Şahbaz
78.6k57 gold badges260 silver badges407 bronze badges
1 Answer 1
If you want open a new layout designer dialog for the specified layout.
# Open composition
project = QgsProject.instance()
projectLayoutManager = project.layoutManager()
layout = projectLayoutManager.layoutByName("2019_A")
iface.openLayoutDesigner(layout)
and for show only manager dialog
iface.showLayoutManager ()
Kadir Şahbaz
78.6k57 gold badges260 silver badges407 bronze badges
answered May 8, 2019 at 17:09
Explore related questions
See similar questions with these tags.
lang-py