I’m trying to create a new document using RhinoDoc.CreateHeadless(TemplateName) with a template path supplied.
I’m finding that some elements of the template are used (layers etc), but others (Layouts) are not.
The goal is to have a template that includes a predefined layout with a drawing border (+ common notes etc) and detail view. Then, I create a new drawing with that template, create my geometry, then save and close.
What do I need to do to get the layouts to persist from the template?
If I create a new file using the same template manually (file > new) then it works as expected, but not through RhinoDoc.CreateHeadless(TemplateName).
Hi Gerrard,
Headless docs currently do not create any views (including layouts). This is something we are still trying to figure out how to properly do.