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

yang686526 2009-05-06 07:31 PM

【转帖】oddbdatabasesetcurrentlayout throws invalid oderror
 
oddbdatabase::setcurrentlayout throws invalid oderror
oddbdatabase::setcurrentlayout throws invalid oderror
hi,
i am getting an oderror that i think should not be there. to recreate the issue:
1. create an oddbviewport entity on "layout 1" or any paperspace layout.
2. delete the newly created oddbviewport.
3. make any other layout active (using oddbdatabase::setcurrentlayout(layoutname)).
4. make the original layout (layout 1) active (using oddbdatabase::setcurrentlayout(layoutname)).
on step 4, oda throws oderror "object was erased.".
is this a bug or i am missing some information? how to avoid this error?
thanks in advance.
this is dd bug. we'll try to fix it for 2.3 release (by the end of march)
sergey slezkin
hi,
it's fixed.


所有的时间均为北京时间。 现在的时间是 12:47 PM.