查看单个帖子
旧 2009-05-06, 03:46 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)