Thanks @crz_06 - that example is perfect. Please try out v1.0.3 on the Package Manager - I added a toggle that should allow you to turn on raster mode for PDF printing. I also removed the limits on the DPI, so for oversized PDFs you can ramp down the DPI. please note the “Scale” option on the Layout from Bounding Box component - it allows the layouts to stay smaller (some programs like adobe reader don’t like 20m x 20m pdfs for some reason)
The reason your definition keeps saving is because of the new “Query Pages” component - it keeps refreshing and re-activating the Layout PDF component as long as it’s set to “synchronize”. Turns out The Layout PDF component doesn’t need a toggle after all, so changing to a button to activate should get around this problem.
@osuire Raster/Vector has been added to the PDF Layout component in v1.0.3. I also went through and reviewed all the “run” inputs - there were quite a few that do work with a button rather than a toggle/constant value and I removed the warning text. Thanks for your feedback!
@parametricmonkey1 - please try out the new pre-release (1.1.1-beta - make sure "Include pre-releases is checked) - there’s a “hide layer in detail” and a “hide object in detail”.
Thanks @jokamm. I need to do some more testing on this. The component didn’t like the same data structure that the C# component accepted so I need to dig a little deeper when I get a moment.
Yeah, that was a change in Rhino 8. Initially the Layout Page component was not exposed in the grasshopper UI, so I made a component for Drafthorse that was nothing more than a skin of the Param. In the update, the Layout Page component was added to the UI in the Rhino tab and the Param itself was sealed. New version of Drafthorse is up and should fix issues. Updates to Example files are in process.
@jokamm First I like to thank you for this great plugin.
Unfortunately, I am experiencing an issue with the latest version, 1.1.21, in R8 SR13 Windows.
When I open one of the example file, like DH_DocumentAndLayoutText_Example.gh’, an error pops up:
The file contains 1 unknown object ‘PageLayout’.
When I click Download and install, It installed Drafthorse 1.1.21 again, even if it was the current version at startup. Next I get an IO error ’ Input parameter chunk is missing. Archive is corrupt.
While running the example files I get errors like 'query pages component report an error 'Input parameter index[-1] too low for Component Edit Details (seems It expects a GUID from the Deconstruct Layout component
Other Layout component generate errors 'No page found at Index 1…
Tested on multiple systems with the same result. One PC with Drafthorse 1.03, all works fine.
I tried un/reinstall to 1.03 on the newer system but without succes.
In the package manager, Drafthorde 1.1.3 is not the top most choice, even if the release date is more recent. I assume This is ok, since I let Rhino manage the package updates
Hi @Mario_ILL I believe I have resolved the bugs that you mentioned. Please download the latest build (1.1.31), and get the new example files from DraftHorse | Food4Rhino. Thanks!