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

yang686526 2009-05-07 05:53 PM

【转帖】up-arrow Symbol 6
 
up-arrow symbol "^"
up-arrow symbol "^"
hello,
reading a string from dxf, which are containing "^" .
could you tell me what string "^x" mean, where x - is any symbol.
how does dwgdirect convert it?
do you use this algorithm(for convertion) in 1.14 version or early?
i'm using 1.14 - 2.6.1 version dwgdirect and vc6.0
yours faithfully
andrey.
sorry,
i found an answer.
look at this:
"ascii control characters in dxf files
saveas handles ascii control characters in text strings by expanding the
character into a caret (^) followed by the appropriate letter. for example, an
ascii control-g (bel, decimal code 7) is written as ^g. if the text itself
contains a caret character, it is expanded to caret, space (^). open and insert
perform the complementary conversion."
do you use this algorithm in 1.14 version or early?
^x in dxf format signifies character from 1 to 0x20, encoded as ^ followed with 'a'+character-1
vladimir
last edited by vkalinin; 27th october 2008 at 04:37 amfff">.
thank you.
sorry, but i don't have a clear idea about library.
does dwgdirect 1.14 (and older) do this conversion?
and there is no need an implementation a similar algorithm in my application.
andrey
as far as i can see that conversion was always present.
why do you ask?
vladimir
thanks a lot.
i found the implementation of that algorithm in our application. :-)
there isn't any comments :-)
and it corrupt string data.
bye.
andrey.


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