高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|