![]() |
【转帖】how to use oddbhatchexplode90 properly
how to use oddbhatch::explode() properly ??
how to use oddbhatch::explode() properly ?? hello. i try to divide hatch object for simpler objects. i found oddbhatch::explode. unfortunately this method generates unknown expectation (not oderror) maybe i do something not properly. please give me some advice. following i present this code try { oddbobjectidarray loopids; oddbhatchptr phatch = oddbhatch::createobject(); pblock->appendoddbentity(phatch); phatch->setassociative(false); phatch->setpattern(oddbhatch::kpredefined, "solid"); phatch->sethatchstyle(oddbhatch::knormal); loopids.append(id); phatch->appendloop(oddbhatch::kpolyline, loopids); oddbvoidptrarray pvoidarray; //vvvvvvvvvvvvvvvvvvvvvvvvvvv phatch->explode(pvoidarray); //throwing unknown exception //^^^^^^^^^^^^^^^^^^^^^^^^^^^ oddbvoidptrarray::iterator iter = pvoidarray.begin(); oddbvoidptrarray::iterator iterend = pvoidarray.end(); //厖厖厖厖厖 } catch (oderror& e) { //............. } |
所有的时间均为北京时间。 现在的时间是 09:26 AM. |