RhinoDoc > OpenHeadless > .3dm file

Hello everyone,

this is my first time posting here a question in the forum=) I recently started working on RhinoCommon and RhinoCompute. I have been facing issues when converting our RhinoCommon PlugIn.
I hope this is the right place to discuss the problem I ran into:

Till now we are using Open() and we don’t have any issue opening and generating reports from it.

Apparently, I am running into an issue when using the RhinoDoc Methods:

When I open .3dm file using OpenHeadless() method, it’s unable to load layout properties properly. I can view all the layouts in doc.Views but the layouts are not loaded properly. Views like Top, Bottom, Right, Left… are loading fine.

doc = RhinoDoc.OpenHeadless(@“C:\Sample.3dm”);
Works fine when i use
doc = RhinoDoc.Open(@“C:\Sample.3dm”);

Regards.