查看单个帖子
旧 2009-05-06, 10:19 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】possible bug is oddbtext with base-left justify

possible bug is oddbtext with base-left justify
possible bug is oddbtext with base-left justify
if i export a dwg from our application, which uses dwgdirect 2.6.3, i notice that all obdbtext with "default" justify (ie: justify = base left), have z value (elevation) set to 0.
the problem seems to be that oddbtext::subclose() calls adjustalignment(), which calls setalignmentpoint(0,0,0), which sets oddbtext::m_d_elevation value to 0.
see attached drawing with oddbtext with elevation = ~136.
edit: i notice odamfcapp saves the drawing correctly, but i assume odamfcapp does not open the oddbtext for write.
attached files
hello vincent,
you are right. it is really bug in dwgdirect. we will fix it in near future. thank you for report.
note odamfcapp has command ( edit\registred commands \drxdebug\adjusttext ) which call adjustalignment() for all text in database.
best regards,
sergey z.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)