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

yang686526 2009-05-07 06:42 PM

【转帖】wblockcloneobjects Problems With 2.07.01
 
wblockcloneobjects problems with 2.07.01
wblockcloneobjects problems with 2.07.01
hi,
we have problems with wblockcloneobjects in dd 2.07.01.
we can reproduce it in odamfc :
- replace dwgviewer.cpp by the one in attachment (dwgviewer.cpp.txt). we add a function _insertblock called on rbuttonup in a view
- copy tr-ilink.dwg in c:\
- start odamfcapp
- create a new drawing
- clic on vectorize button in gdi mode, with usegsmodel at true
- clic on the right button
- clic on zoom extents button
- clic on the right button
- close the two views of the drawing => odamfcapp crash.
what we wanted to do is to replace the blocktablerecord in the blocktable. we were using wblockcloneobjects, can we use oddbdatabase::insert ?
best regards,
benjamin.
attached files

hi benjamin,
this problem is not related to wblockcloneobjects. this is regression bug in gs. it is fixed and posted to our svn (trunk rev. 142128); fix will be available in next release.


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