查看单个帖子
旧 2009-05-06, 05:42 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)