几何尺寸与公差论坛------致力于产品几何量公差标准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 when try to insert this drawing (http://www.dimcax.com/hust/showthread.php?t=18085)

yang686526 2009-05-06 11:05 PM

【转帖】problem when try to insert this drawing
 
problem when try to insert this drawing
problem when try to insert this drawing
hi,
when i try to insert this drawing in another, i have an error : not that kind of class.
in autocad, with audit, i have no error.
what's class ?
thanks
laurent
attached files
i can't reproduce it in odamfcapp 1.14.02
(edit/registered commands/drxdebug/testdbinsert
where the exception is thrown from? is it related with dimension block recomputing? is it possible that you have no recomputedimblock module?
sergey slezkin
i use 14.01....
i try with 14.02
thanks,
laurent
odamfcapp in 1.14.01 seems to work too. which one of insert() functions do you use?
sergey slezkin
my code
pdbblock = svcs.readfile(filename,true,false);
odgematrix3d mtrans(odgematrix3d::translation(pttranslation) * odgematrix3d::scaling(ech));
insert(mtrans,pdbblockbase,true);
thanks,
laurent


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