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

yang686526 2009-05-06 11:27 PM

【转帖】problem with oddbsequenceend
 
problem with oddbsequenceend
problem with oddbsequenceend
hi,
i am trying to use odareadex project to read a dwg file with block reference. i tried to derive a class oddbsequenceend_dumper from the oddbentity_dumper class, so that i can set a flag in that class to know that the end of reference block has reached. i am using the same virtual dump() method as given in the example.
class oddbsequenceend_dumper : public oddbentity_dumper
{
public:
void dump(std(ostream) &os, oddbentity* pent, int indent) const
{
flag_reached_seqend = true;
}
};
however, the program never reaches the dump() function .. though i can see reference blocks in the program using the odamfcapp program !
am i doing something wrong here.
help !!
amit


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