![]() |
【转帖】v Symbol In Tolerances
%%v symbol in tolerances
%%v symbol in tolerances hi! i have a problem using "%%v"- symbol as a vertical line inside a frame of text of tolerance. when this symbol appears in the output string, all symbols that follow after it, become erased... my code is the following: oddbfcfptr ptol = oddbfcf::createobject(); ptol->setdatabasedefaults(db); ptol->setdimensionstyle(db->getdimstylestandardid()); ptol->settext(output_str); ptol->setlocation(location_point); if i don't use "%%v", or use "|" instead it, everithing works fine. maybe, i missed something important? could you, please, help me? thanks in advance! hello, could you give value of output_str from ptol->settext(output_str);? best regards, sergey z. %%v symbol for example, the string: "{\fgdt;f}%%v{\fgdt;n}tol1{\fgdt;m}%%v{\fgdt;n}tol 2{\fgdt;l}%%v{\fgdt;s}" outputs only 2 parallel lines inside rectangle, and nothing more... (no diameters, no text, no l and s...) hello i dont't see any problem. i insert it in dxf file and i have 4 box like |f|ntol1m|ntol2l|s|. could you attach your result file. note if you set this string in c++ code you need "\f" change to "\\f". best regards, sergey z. thank you, sergey! of course, i use the c++ string and prepare it properly (with \\ ), but the dubugger decided to show only single '\' before f's. i use the early alpha version of c++ program. it can show some drafting, but it can't save it yet in appropriate file. really, strange behavior of %%v symbol! maybe, some global settings can lead to this result? now i simply don't know how to overcome such strange action of this symbol... hello it is really strange behavior. there are no any global settings for this. i think result file may be helpful. best regards, sergey z. |
所有的时间均为北京时间。 现在的时间是 04:15 PM. |