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

yang686526 2009-05-06 02:20 PM

【转帖】how to change the current dimension
 
how to change the current dimension
how to change the current dimension
hello,
trouble everyone with a question,i tried to set current dimension with another specified as following process,but why not succeed?
thanks in advance,
"
oddbblocktableptr pblktbl = pdb->getblocktableid().safeopenobject( oddb::kforwrite );
oddbobjectid objblk1 = pblktbl->getat( getarrowname( arrowtype_left ).c_str() );
oddbobjectid objblk2 = pblktbl->getat( getarrowname( arrowtype_right ).c_str() );
pdim->setdimblk1(objbkl1);
pdim->setdimblk2(objbkl2);
"
peter .
1. depending in dimsah dimblk or dimblk1 & dimblk2 is used.
2. if dimtsz > 0 oblique strokes are drawn instead of arrowheads.
sergey slezkin


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