高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|