![]() |
【转帖】include new entities in preview bitmap
include new entities in preview bitmap
include new entities in preview bitmap hi all: i have created some new entities, but they don't appear in the odthumbnailimage. is there something i can do to include them in the preview bitmap?? thanks in advance. mina. by default drawing is loaded without preview. if you save it to file having requested preview, dd will create up-to-date preview.. if for some reason you need to load the drawing with preview you can clear the old one by oddbdatabase::setthumbnailbitmap() and the new one will be generated. sergey slezkin by new entities i mean new custom entities (like oddbline, i have my oddbmyline for example). the preview contains all the dwg entities ,but not my new entities. what class do you use for deriving your entities? if oddbentity you have to implement their worlddraw(). sergey slezkin |
所有的时间均为北京时间。 现在的时间是 05:46 PM. |