几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】possible bug is oddbtext with base-left justify (http://www.dimcax.com/hust/showthread.php?t=17953)

yang686526 2009-05-06 10:19 PM

【转帖】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.


所有的时间均为北京时间。 现在的时间是 02:04 AM.