thumbnail BlockReference

How can i create a thumbnail of a BlockReference or BlockTableRecord in C# ?

Is this possibil ?

thx RIhm

Comments

  • To create a preview, try calling command "._BLOCKICON". Just keep in mind that this command was not present in older versions of BricsCAD. The same function in the AutoCAD API is performed by the CMLContentSearchPreviews.GetBlockTRThumbnail() method. But I have not tried to search for it in the BricsCAD API.
    Then you can get the icon using btr.PreviewIcon.GetThumbnailImage. This command is also only available in the latest versions of AiutoCAD and BricsCAD.