几何尺寸与公差论坛------致力于产品几何量公差标准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 decomposeforsave for an oddbbody entity (http://www.dimcax.com/hust/showthread.php?t=18104)

yang686526 2009-05-06 11:11 PM

【转帖】problem with decomposeforsave for an oddbbody entity
 
problem with decomposeforsave for an oddbbody entity
problem with decomposeforsave for an oddbbody entity
i am using decomposeforsave function to get the basic geometry for oddbbody entities. it works for all of the sample entities that i have, except the one in the drawing attached. for some reason, decomposeforsave returns a null pointer in the following code:
bool exchangexdata;
oddbobjectid replaceid;
oddbobjectptr pdecomobj = pent->decomposeforsave(oddb::vac12, replaceid, exchangexdata); //pent is oddbentityptr pointing to a valid oddbbody entity.
would anyone please take a good at the file and let me know what the problem is?
thanks,
-ky
i see no attachment...
sergey slezkin
hi sergey,
i tried to attach the file, but the system didn't get it through. i tried a couple of times with no luck. i dont know why. i've already sent a message to the forum admin, but i haven't got a reply.
would it be possible for me to forward the file directly to you through regular e-mail?
thank you,
-ky


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