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

yang686526 2009-05-06 10:18 PM

【转帖】position of dimension te
 
position of dimension text
position of dimension text
i tried to write a dimension that changed text position.
i use dd 1.12.04.
odrxobjectimpl<myservices> svcs;
oddbdatabaseptr pdb = svcs.createdatabase( true, oddb::kmetric );
...
oddbrotateddimensionptr pent = oddbrotateddimension::createobject();
pent->setdatabasedefaults( pdb );
pent->setdimensionstyle( pdb->getdimstylestandardid() );
pent->setdimlinepoint( odgepoint3d(50, 30, 0) );
pent->setxline1point( odgepoint3d(0, 0, 0) );
pent->setxline2point( odgepoint3d(50, 0, 0) );
pent->settextposition( odgepoint3d(15, 30, 0) );
pent->usesettextposition();
when opening in autocad, there was a problem.(broken line)
but when editing in autocad, there was a normalization.
(ex. changing color)
is this a problem of recomputedimblock() ?
here a drawing.
attached images
yes, the dimension block was incorrectly created by recomputedimblock() and recalculated by autocad.
sergey slezkin
is this dd bug ?
or a method ?
recomputedimblock() is a method.
it creates incorrect dimension block in your case. this is dd bug.
sergey slezkin


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