查看单个帖子
旧 2009-05-07, 12:42 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】recomputedimblock works strange

recomputedimblock works strange
recomputedimblock works strange
hello,
i have a problem, when reading dimension's text position, after recomputedimblock() is called:
here is a code segment:
double posy = pdiment->textposition().y;
pdiment->recomputedimblock();
posy = pdiment->textposition().y;
first i get the correct value (148.625)
but after dim block is recomputed i get value (150.19642857142858).
why recomputedimblock() method corrects values in dimension?? as i understand this, it should only create new dimension's geometry block, based on values from dimension - and not change the original values.
i have attached the example drawing, which reproduces the problem.
regards, tomaz
attached files
i ran a test on that and retrieved 148.625 before and after. i believe it may have been a bug that has been repaired. next release should be around pretty soon.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)