几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】reading odbrotateddimension (http://www.dimcax.com/hust/showthread.php?t=18359)

yang686526 2009-05-07 12:35 PM

【转帖】reading odbrotateddimension
 
reading odbrotateddimension
reading odbrotateddimension
i'm trying to read the text from the block in odbrotateddimension. i retriev the result from an oddbmtext where i use the contents() method.
what i get is "\a1;3 200" where the result should be "3 200" ???
in arx documention which helps me every day, it's notified that a format string can be found. how can i retrieve the dimension text without that unwanted "\a1;"
thanks in advance.
you can use oddbmtext::explodefragments() to parse mtext contents.
sergey slezkin
thank you very much for this help. without you comment and the source code i've found in oda i would have kept things like they were : bad...


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