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