Hello all.
I want to capture an object from the isometric southwest view and my custom display mode, but I don’t want to set it as active view then use CaptureToBitmap() method. because it makes a flash in my viewport and also makes my plugin heavy to run, can I use RhinoViewPort that I have made without setting it as ActiveViewPort?
I’m using C# and rhino 7,
thanks.
Any Ideas?
Hello,
If Perspective were SouthWest, I think the capture could be done as follows.
var viewName = "Perspective";
var view = doc.Views.Find(viewName, false);
var bitmap = view.CaptureToBitmap();
// your folder path
bitmap.Save(@"C:\Temp\capture.png", System.Drawing.Imaging.ImageFormat.Png);
thank you Masaki
but can I define a view Without having it in my views? and use it for capture?
also, can I use named views for CaptureToBitmap?
thank you.
but can I define a view Without having it in my views? and use it for capture?
You can make your own viewport.
also, can I use named views for CaptureToBitmap?
Yes.You can call up and capture a saved view from your NamedViewTable.
thanks a lot Masaki
1 Like