Setting camera of Perspective viewport

We are using OpenNURBS in VL (vvvv Gamma) to write .3dm files. Now we would like to also set the camera view of our software to correspond to the perspective view that will be shown in Rhino when you open the file.

I could only find an example for a named view. Is there a way to set the camera for the perspective viewport? How would that look in C# roughly?

Hi @seltzdesign,

Doing this from openNURBS isn’t difficult. However, I can see there isn’t way of constructing a ViewInfo class from outside of core Rhino. I’ve logged this issue.

– Dale

Thanks for the reply. So creating a named view would be the easiest way to achieve bringing over a camera view?

Also, don’t forget this one: :slight_smile: