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

yang686526 2009-05-07 03:30 PM

【转帖】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
^^*


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