几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » DirectDWG
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-05-06, 06:07 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】moving from 2.2.0 to 2.6.1

moving from 2.2.0 to 2.6.1
moving from 2.2.0 to 2.6.1
hi,
so far we had been using dwgdirect 2.2.0 in our codebase of illustrator for importing dxf and dwg files. now we are planning to move to 2.6.1. i have following queries.
query 1:
--------
we were using following library files of 2.2.0.
dd_vc8mt_acisbuilder
dd_vc8mt_acisrenderer
dd_vc8mt_br
dd_vc8mt_db
dd_vc8mt_ge
dd_vc8mt_gi
dd_vc8mt_gs
dd_vc8mt_modelergeometry
dd_vc8mt_recomputedimblock
dd_vc8mt_root
dd_vc8mt_spatialindex
dd_vc8mt_acisrenderer.lib is not available in 2.6.1. which libraries of 2.6.1 should i take which corresponds to the above libraries of 2.2.0
query 2:
---------
in 2.2.0 inside exgssimpledevice.cpp there was a class exsimpleview derived from odgsbasevectorizeview. inside exsimpleview in update() method there was a call
numobjects = context()->database()->approxnumobjects();
context() was returning a pointer to odgicontext type object
and context()->database() was returning a pointer to object type oddbdatabase. now in 2.6.1 this returns pointer to object type oddbbasedatabase. as oddbbasedatabase doesn't have approxnumobjects() method, how can i get approximate number of objects?
please also let me know if i there are some "need to know" points which i also need to take care while this migration.
thanks,
harsha
"acisrenderer" corresponds to "breprenderer"
you may safely cast oddbbasedatabase to oddbdatabase, if you are working with dwgdirect. (oddbbasedatabase is also used in dgndirect)
thanks. it helped []
-harsha
during that time 2.6.3 was released and i would recommend upgrade to it.
it's binary compatible with 2.6.1 and does not require any additional code/project changes. the only difference is a hundred or two bug fixes.
sergey slezkin
i am at 2.6.3 now, shall i try to move to 2.6.4? is it worth to change and how much will be the effect?
the latest dwgdirect release is 2.6.3
sergey slezkin
thanks sergey,
i asked this as i saw thread
-harsha
the tread you saw is about dgndirect and new features and bugs fixed in it are listed in it.
sergey slezkin
yes, thanks for correcting me.
-harsha
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭



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


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多