|
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 |
|