![]() |
【转帖】ext Position Of Vertical Dimension
text position of vertical dimension
text position of vertical dimension i tried to write a vertical dimension. i use dd 1.13.02. oddbrotateddimensionptr pent = oddbrotateddimension::createobject(); pent->setrotation( odapi2 ); pent->setdimlinepoint( odgepoint3d(30, 50, 0) ); pent->setxline1point( odgepoint3d(0, 0, 0) ); pent->setxline2point( odgepoint3d(0, 50, 0) ); pent->usedefaulttextposition(); text position is right side. (dimng.jpg) i think left side is correct. when editing in autocad, normalization. on the other hand, pent->setdimlinepoint( odgepoint3d(-30, 50, 0) ); it is satisfactory. (dimok.jpg) attached images this is a bug of 1.13.02. it was fixed in 1.13.03. sincerely yours, george udov it seems to me that dwgdirect 1.14 draws text on the right side when text position is custom (not default). left should be correct. ciao marco quote: originally posted by marco.botton it seems to me that dwgdirect 1.14 draws text on the right side when text position is custom (not default). left should be correct. could you post a sample drawing with such dimension? if i understand right custom means using pent->usesettextposition(). in this case you need set text position and tmove variable value has effect to place text relatively dim line. best regards, sergey z. this is the piece of code i use: odgepoint3d odtextmidpt(p[0], p[1], 0); oddimension->usesettextposition(); oddimension->settextposition(odtextmidpt); and i would like to see the text on left side, rotated by 180 deg. when i open attached file in autocad, i slightly move the dimension and the text is redrawn on left side. ciao marco attached files (6.5 kb, 6 views) it was bug in dwgdirect 14.01. it was fixed in v14.02. best regards, sergey z. |
所有的时间均为北京时间。 现在的时间是 12:21 PM. |