Just wanted to drop a wish.
I think it would be great if we had CaptureToBitmap(size, selected)
Where it would only capture what we have selected and set its size.
I ask this, because in our plugin, during exports, I show a picture of the current part thats being exported. As of now, I have to do a zoom selected, capture and then zoom extents.
Public Function Capture()
Dim a
rs.ZoomSelected()
rs.UnselectAllObjects()
a = Rhino.RhinoDoc.ActiveDoc.Views.ActiveView.CaptureToBitmap(New Size(400, 400))
PictureBox1.Image = a
rs.ZoomExtents()
End Function
This gives my this (the capture of the part). Its part of my automation for SigmaNest.
Thanks for reading!