How to get "Block snapshot bitmaps"


In Rhino5, I can see Block snapshot bitmap in Insert command.

I’d like to know how to get this block snapshot bitmap.

and if possible, I’d like to store this snapshot by specific view angle.


If you are using Rhino.Python or RhinoCommon, then you can use Rhino.DocObjects.InstanceDefinition.CreatePreviewBitmap.

If you are using C++, then use CRhinoUiBlockPreview::GetInstanceDefinitionPreviewBitmap. You can also use the CRhinoUiBlockPreview MFC control.