Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pass a LAYOUT? #75

Closed
ThierryO opened this issue Dec 29, 2021 · 3 comments
Closed

How to pass a LAYOUT? #75

ThierryO opened this issue Dec 29, 2021 · 3 comments

Comments

@ThierryO
Copy link

I'm having troubles to export an atlas to pdf. I'm passing the project and layout as in the example below.

qgis_run_algorithm(
  algorithm = "native:atlaslayouttopdf", LAYOUT = "my_layout",
  PROJECT_PATH = here(target_folder, "my_project.qgz")
)

Running the code returns an error. I've checked the path to the project and the name of the layout.

../../src/core/qgsmessagelog.cpp:29 : (logMessage) [4ms] 2021-12-29T16:19:03 Processing[2] Cannot find layout with name "my_layout"
@florisvdh
Copy link
Member

Should hopefully be solved by PR #79. @ThierryO can you confirm?

@florisvdh
Copy link
Member

Considered solved by PR #79.

@florisvdh
Copy link
Member

In hindsight, this was probably a duplicate of #68.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants