查看单个帖子
旧 2009-05-07, 03:30 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】screen Points = Vector Points

screen points => vector points
explode sample
where is explode sample code ??
except
....executecommand("explode");...
other sample code
1. xref attach (0)
2. xref attach -> bind (0)
3. explode ??
oddbobjectid id = m_pdb->getblocktableid();
oddbblockreferenceptr pblk = id.openobject();
odrxobjectptrarray ary;
odresult err = pblk->explode( ary );
last edited by essensw; 23rd august 2006 at 06:39 pmfff">.
you are opening the blocktable and setting the result to a blockreference pointer, which won't work.
you need to obtain a valid blockreference pointer, and the blockreference should be open for write before calling explode.
thank solved..
thank solved
^^*
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)