查看单个帖子
旧 2009-05-07, 04:59 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)