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

yang686526 2009-05-06 05:42 PM

【转帖】merge 2 oddbdatabase
 
merge 2 oddbdatabase?
merge 2 oddbdatabase?
is it possible to merge 2 oddbdatabase? this is what my application needs to do. open 2 dwg files, and to show them on the same window. i manage to show them using 2 oddbdatabase, but i was wondering if it's possible merge the 2 database into 1? thank you.
oddbdatabase::insert() can insert all ms entities of one database into another. it also takes care about referenced objects like linetypes, layers, blocks etc.
sergey slezkin
thank you. i'll try it out.
alright, some more question about merging 2 database. my problem is now that both my database has different viewing matrix, and so my applications allow users to adjust the drawing size, space of both database. later, they'll export both database into one dwg drawing.
now, my problem is there possible to write the transformation matrix into the output database? i check the documentation and see that one of the methods of oddbdatabase uses transformation matrix. is this what i need? if it is how can i retrieve the transformation matrix from the view? thank you.


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