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

yang686526 2009-05-04 04:46 PM

【转帖】block definitions origin
 
block definition's origin
block definition's origin
this is given by oddbblocktablerecordptr->origin( ).
i have not found a case where origin api returns value other than ( 0,0,0).
is it possible?
if yes, please email me the dwg drawing.
block definition's origin can be other than (0,0,0) but latest versions of autocad (starting at least with r14) while creating block via ui convert entities in block to have zero base point.
file with non-zero block base point can be created by objectarx/dbx. you can make such file by editing dxf file also - group code 10 in block begin entity. load edited dxf into autocad (or dd) and save it to dwg.
sergey slezkin


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