查看单个帖子
旧 2009-05-04, 04:46 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)