1

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.

2

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 ()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.