高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|