查看单个帖子
旧 2009-05-07, 03:44 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】settextat Doesnt Work For Linetype

settextat doesn't work for linetype
settextat doesn't work for linetype
oddblinetypetablerecord::settextat doesn't work.
build odwriteex sample program (tried borland and visual.net), and create
.dxf or .dwg files. the linetype "hw_oda" has the shape #s in it, but not
the text.
reading in a file with text in a linetype works fine (textat).
i can reproduce the problem only with dwg file, dxf is ok.
it's possible to bypass dd bug resulting in incorrect dwg by removing setshapenumberat() call just before settextat(). this call makes no sense because a dash can have a shape or a text string but not both of them.
but only one dash with text string can be saved by dd to dwg untill the bug is fixed.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)