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

yang686526 2009-05-07 04:59 PM

【转帖】he Output Of The Oddbdimension
 
the output of the oddbdimension
the output of the oddbdimension
when the oddbaligneddimension is output after it changes to version 1.13, the dimeison point(oddbaligneddimension:: setdimlinepoint) moves to the position of the size character(settextposition & usesettextposition) though the position of the oddbaligneddimension is specified.
was there something change point?

yes, there definitely was something that changed the point. oddbdimension performs some operations "on close" if dimension graphics was modified (if modifiedgraphics() returns true). these operations are:
1) preprocessing the dimension points and correcting their positions
2) calculating measurement
3) computing the dimension block
when usesettextposition() flag is used, dimlinedefpoint (point which is set by setdimlinepoint) is moved to position that will let place dimension line going through the text point specified. it is designed in compatible with autocad way. there are some possible exceptions, depending on dimension variables (dimvardefs).
sincerely yours,
george udov

thank you for the reply.
the the the dimeison point锛圤ddbaligneddimension:: setdimlinepoint锛?was changed like the self adjustment.
i wonder whether the the dimeison point锛圤ddbaligneddimension:: setdimlinepoint锛?cannot be prevented the self adjustment in v1.13

self-adjustment can be prevented using
pdim->setdimtmove(2);
but it works only in 1.13.04.
in 1.13.03 it doesn't work yet.
sincerely yours,
george udov


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