Tools for generating and managing Rhino Layouts programmatically through Grasshopper.
Initially inspired by the layout creation components in Fabtools, Drafthorse expands on what you can do with layouts - create, copy, and modify layouts and details, including reading and writing to layout user text and document user text (which can be useful for titleblock creation).
While Baking to specific layouts is still on the to-do list, the MakePageActive component is a workaround - making a specific layout active before baking with bake to that "paperspace" by default.
Note that for Rhino 7 versions, the primary method of getting and modifying layouts is index based, not name based, since names can be duplicates, but each layout has a unique index associated with it in the Rhino document.
Please leave comments on the DraftHorse page on the Rhino Forum:
- bug fix: LayoutFromBBox component scale issue if model units different from page units
- bug fix: PDFLayout scale issue for non-inch units
- Drafthorse for Rhino 8
- Replaces reference-by-index with LayoutPage input
- Most layout and view inputs replaced with new (to rh8) grasshopper types