查看单个帖子
旧 2009-05-05, 08:38 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】dwgdirect produced dxf crashes autocad

dwgdirect produced dxf crashes autocad
dwgdirect produced dxf crashes autocad
hi there,
our application has written out a dxf file that crashes autocad. if i write the file out as dwg then autocad is able to read it. odamfcapp is able to read the dxf.
i've included a cut down version of the dxf and dwg file. i'm no expert on the actual file format so i can't tell if something is wrong. can you have a look please and tell me if there is something obviously wrong or if there is something i can call to make autocad read the file. i can supply some sample code if needed.
for information, the error log from autocad shows this :
"internal error: !dbscandr.h@229: einvalidinput"
thanks
attached files

if you audit this file (in odamfcapp edit/audit), with enabled error fixing, and save result to dxf, autocad will open it without problems.
sincerely yours,
george udov
okay, thanks.
whats actually wrong with the file though? have i done something wrong or forgotten to call something that has caused this?
sorry, i replied to quickly before doing any checking. i've done what you suggested and wrote out a fixed file. doing a diff between this and my original file has shown that the dimension style for the leader isn't set in the original file (odamfcapp told me this as well when i did the audit)
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)