几何尺寸与公差论坛

 找回密码
 注册
查看: 718|回复: 0

【转帖】resolve xref dialog

[复制链接]
发表于 2009-4-13 13:56:44 | 显示全部楼层 |阅读模式
resolve xref dialog
is there any way to programmicatlly skip or turn off the resolve xref dialog?
i have a program to open dwg files and print after opening, but i have a few files that have references that i'd like to skip when i open the file to print, (if they can't be located), i'd like to set an option or someting to skip all references that can't be located.
thanks in advance.
roger
post the code you are using to open the file with
me.axemodelviewcontrol1.opendoc(filename, false, false, true, "")
ah you are using edrawings; then unfortunately no. edrawings api is just too limited.
yes, i'm using edrawings.
a little background of my app, it attempts to open docs and print and then close the doc, all unattended. but when i hit a file with an external reference, i get the xref dialog, which causes the app to simply wait until i close it.
is there anyway that i can check the file for external references that don't exist before i try to open it, and if so, skip it. if i can't turn off the xref dialog, or auto skip?
with edrawings, unfortunately no, no and no.
your only other option is to use the solidworks document manager to check for xrefs
well fudge!
thanks for the comments and comformation!
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 05:09 , Processed in 0.035439 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表