-
Notifications
You must be signed in to change notification settings - Fork 4
Description
@interopxyz
I love the flexibility of combining block-based and shape-based content into a single PDF document. I’ve encountered a problem that I’d like to get your thoughts on.
📚 Vocabulary
Here’s how I define the terms (let me know if these differ from your understanding):
- Block-based: Content is added sequentially without specifying its exact position on the page, allowing for automatic pagination.
- Shape-based: Content is positioned with precise control over layout on the page.
🎯 What I’m trying to achieve
I want to create a document structured as follows:
- Front page: Combines geometry and text, using shape-based layout for precise control.
- Intro page: Follows the front page, also combining geometry and text, with a shape-based layout.
- Main content: Contains drawings and text, formatted as block-based to allow for variable length.
To simulate this issue, I’ve created a GH file using PDF Plus, which combines elements from the following example files:
- PdfPlus-Blk-06-Drawing
- PdfPlus-Shp-01-GeometryTypes
- PdfPlus-Blk-01-BasicText_A
❌ Problem
While I can successfully create the front and intro pages, the issue arises when I combine them with block-based drawings: the drawings appear on the first page instead of following the intro page.

Full file:
PdfPlus-BlockbasedDrawings-And-FrontPage-Error.pdf
✅ Expected Outcome
When I replace the block-based drawings with block-based text, the layout works as expected: the block-based content appears on pages following the front and intro pages.

Full PDF:
PdfPlus-BlockbasedDrawings-And-FrontPage-Expected.pdf
🗂️ Example File
I’ve attached an example file that demonstrates both the issue and the expected behavior.

Grasshopper file:
PdfPlus-BlockbasedDrawings-And-FrontPage.zip
Any ideas on where I should start looking in the source code to address this?
I’d be happy to contribute if you can point me in the right direction!