Rhino.RhinoDoc headless in rhinocommon and creating pageviews

Hello everyone,
here is the problem.
So first I am not using the Rhino.FileIO.File3dm for some reasons but Rhino.RhinoDoc.
null exception => var doc = Rhino.RhinoDoc.CreateHeadless(path)
works => var doc = Rhino.RhinoDoc.ActiveDoc;

here is the problem.=> Rhino.Display.RhinoPageView page = doc.Views.AddPageView(Name, 420, 297);

Is where any possibility to fiddle with the views without the GUI of Rhino? Where are also still problems arrising with export, but this is another topic.

Thanks in advance

Michael Sprinzl

Hey @mi_sprinzl,

Adding views doesn’t work without a headed Rhino sorry. I’ve tried and never managed to make it work.
I believe you can query existing pages however.

– cs

1 Like