高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|