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

yang686526 2009-05-06 11:12 PM

【转帖】problem with diameterdimension
 
problem with diameterdimension
problem with diameterdimension
hi,
i think there is a problem with the generation of the dimblock for oddbdiameter dimensions.
to reproduce this, i created a drawing with a version of ac2ki, that contains
a dimension as i need it (diameter_acad2000i.dwg).
if you load this in dd1.12 and store it after calling recomputedimblock(true)
for the dimension entity its apperance changes.
(diameter_recomputed.dwg)
1. is this a bug in dd?
2. is there a possibility to create a dimblock by myself?
it seems that dd always recalculates the dimblock after changing any parameter of the entity?
thanks
dirk
attached files

1. yes, it is a bug. thank you for bugreport. it'll be fixed in next release/update.
2. dd recomputes dimension block every time when dimension entity with modified graphics is closed. you can avoid recomputing of dimension block by calling function oddbentity::recordgraphicsmodified(false); before close (end of smartpointer's scope) of entity.
sincerely yours,
george udov

ok, thanks for the reply
dirk


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