查看单个帖子
旧 2009-05-05, 10:28 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】export xref blocks to dxfdwg

export xref blocks to dxf/dwg
export xref blocks to dxf/dwg
my application generates dxf/dwg drawing. the drawing has xref block. i use the oddbblocktablerecord::setpathname(...) function to define the xref. when i load the created drawing into autocad it don't display the xref blocks.
analysing the dxf file i have found that groupcode 70 in a block definition is 0. after i manually set it to 100, autocad begin to display the drawing correctly.
what dwgdirect function i have to call in order to set the xref bit in the groupcode 70 ? i don't find any in the doc
see xrefman.h
oddbxrefmanext::addnewxrefdefblock() function.
sergey slezkin
thank you for the help, it works.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)