I’m trying to use Rhino.Display.ViewCapture.CaptureToBitmap method, and this method accepts one of two inputs, either RhinoVIew or ViewCaptureSettings; I’ve used it with RhinoView and it works fine but when I use same RhinoView to construct a ViewCaptureSettings object, this is the error it gives me:
Traceback (most recent call last):
File "rhinocode:///grasshopper/1/ad308b76-a5b0-4d9a-b228-928ec77e6b0e/f83bd7d6-faf3-4e21-83be-97e9f3304fd6", line 11, in <module>
TypeError: Rhino.Display.ViewCaptureSettings value cannot be converted to Rhino.Display.RhinoView in method System.Drawing.Bitmap CaptureToBitmap(Rhino.Display.RhinoView)