几何尺寸与公差论坛------致力于产品几何量公差标准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-05, 10:40 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】extra data being written with 2.1.0

extra data being written with 2.1.0
extra data being written with 2.1.0
hi,
we recently updated from dd 1.14.05 to dd 2.1.0. with the new libs some extra data is being written to the dxf files. i've attached one old and the corresponding new file exported from our app (which uses vc8 static libs) to dxf 2000 format.
the new file contains:
- extra "designcenter data" for entities
- a value "none_device" in acdbplotsettings where the old file contains blank
can someone explain the difference and how to prevent it from appearing if the need be?
attached files
hi. can someone from oda have a look at this?
regards,
varun
"designcenter data" is block insert units roundtrip data. currently it is saved unconditionally, even when insert units are default. it will be fixed in the next update.
vladimir
thanks vladimir. and any idea about "none_device"?
regards,
varun
hi,
have you any critical problem with 'none_device' ?
no. nothing critical, i guess.
basically it causes our automation on dxf to fail as the baselines were created with 1.14.xx. it would be nice to know though if there is some way i can prevent it from happening, so that we don't have to rework our baselines.
regards,
varun
well, autocad 2007 & 2005 generates new files with default printer device in plotsettings. it can be hp 4000 for example or something else. i think that none_device is a good choice for plotsettings defaults.
ps : it can be changed to application default printer in the future.
i've starting using 2.2.0 and the "designcenter" data is no longer being written. however now the following extra block is present in each of files generated with the new library:
code:
visualstyle
2
acdbvisualstyle
3
objectdbx classes
90
4095
280
0
281
0
0
class
1
any ideas about this? is this an intentional change in the new libs?
regards,
varun
if roundtrip data is turned on, and if there are acdbvisualstyle objects in the file (like default one in the new database), then this change is intentional (default visual style should be added).
but, if roundtrip data is turned off, it should be deleted from classes section, as well as from named objects. it is a bug with this class.
but is is not the only class, that is incorrectly preserved in classes section, when saving to the previous versions without roundtrip. it is a known problem, hopefully it will be fixed soon enough.
vladimir
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


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

高级搜索
显示模式

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

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

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】custom data - proxy yang686526 DirectDWG 0 2009-05-04 06:55 PM
【转帖】acis data garbled yang686526 DirectDWG 0 2009-05-04 03:37 PM
【转帖】accessing autocad map object data yang686526 DirectDWG 0 2009-05-04 03:32 PM
【转帖】哪位高手指点一下下边lisp的怎么用 yang686526 数据库ObjectDBX 0 2009-04-28 12:13 PM
哪位高手指点一下下边lisp的怎么用 yang686526 ObjectARX(AutoLISP) 0 2009-04-26 06:19 PM


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


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