missing Xref when trying to open file. How do I bypass this

missing Xref when trying to open file. How do I bypass this

Anonymous
Not applicable
611 Views
5 Replies
Message 1 of 6

missing Xref when trying to open file. How do I bypass this

Anonymous
Not applicable
------=_NextPart_001_0053_01C393EB.49C327F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

HI All,

I'm trying to iterate through a list of files and open each one, through =
VBA.

The problem is, when trying to open a file that has an Xref missing, the =
script stops and prompts the user to point to the missing file. I, of =
course, would just press Cancel.=20

Is it possible to bypass this prompt, and just continue the script? Is =
there a way to turn off notifications?

thx


-------------------------------------------------------------------------=
---
Michael Rand=20
Analyste programmeur
Programmer Analyst

1405 TransCanada, Suite 500
Dorval, Qu=E9bec
Canada, H9P 2V9

Tel: (514) 683-6838 x. 233
Fax: (514) 683-8020
Pager: (514) 614-2688
[email protected]

www.dtdcad.com
support.dtdcad.com
=20

------=_NextPart_001_0053_01C393EB.49C327F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">




HI All,

 

I'm trying to iterate through a list of =
files and=20
open each one, through VBA.

 

The problem is, when trying to open a =
file that has=20
an Xref missing, the script stops and prompts the user to point to the =
missing=20
file. I, of course, would just press Cancel.

 

Is it possible to bypass this prompt, =
and just=20
continue the script? Is there a way to turn off =
notifications?

 

thx

 









src=3D"cid:004d01c3940c$d0d03410$2b00a8c0@miker1"> size=3D-1>Michael Rand=20

size=3D-2>Analyste=20
programmeur
Programmer Analyst

1405 TransCanada, Suite=20
500
Dorval, Qu=E9bec
Canada, H9P 2V9

Tel: (514) =
683-6838 x.=20
233
Fax: (514) 683-8020
Pager: (514) 614-2688
href=3D"mailto:[email protected]"> color=3D#666666>[email protected]

href=3D"http://www.dtdcad.com"> color=3D#0000ff>www.dtdcad.com
=
href=3D"http://support.dtdcad.com">support.dtdcad.com

<=
/FONT>


------=_NextPart_001_0053_01C393EB.49C327F0--
0 Likes
612 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
You could try the "Push the Freakin' Button" utility by Paul Roberts

Don't know if it will work but I don't think there is any other way to get
around that missing Xref dialog.

http://www.bobos.demon.co.uk/par/PTFB.htm

Gary
0 Likes
Message 3 of 6

Anonymous
Not applicable
Gary,

Thx for the response. Very nice utility, however, i don't think it is a
viable option in this case.

I have found ways to suppress other dialogs in ACAD. Do you know of any
other system variables that may accomplish this feat?

Mike


"Gary McMaster" wrote in message
news:[email protected]...
> You could try the "Push the Freakin' Button" utility by Paul Roberts
>
> Don't know if it will work but I don't think there is any other way to get
> around that missing Xref dialog.
>
> http://www.bobos.demon.co.uk/par/PTFB.htm
>
> Gary
>
>
0 Likes
Message 4 of 6

Anonymous
Not applicable
I don't know of any other way around that dialog box.

FileDia, CmdDia, Expert ... none of those work for the Xref dialog.

The PTFB utility works for me. MDT displays the path of the missing file in
the title bar so I use a wild card in PTFB's "Target Description".

Like this:

New Xref Path : *

Gary
0 Likes
Message 5 of 6

Anonymous
Not applicable
depends upon what version and howw much programming you want to do. If
you are pre2004, you could use ODX by the OpenDWG Alliance. What you
would need to do is 'pre-open' the file by opening it via ODX, resolve
the xrefs, save/close in ODX, then finally open in AutoCAD/MDT. Long way
around to avoid the dialog but it should work ~ depending upon how your
whole program flows.
___________________________
Mike Tuersley
AutoCAD Clinic
Rand IMAGINiT Technologies
0 Likes
Message 6 of 6

Anonymous
Not applicable
Mike,

 

I'm looking for similair procedures. I'm sure
that it exists as a application level or document level event, and could assign
a Class Module to handle the event.  However, I've yet to find one for your
needs, nor mine (missing font files, and others)...  I would also like to
cancel, or substitute.

 

Less complicated than a class module; I could have
sworn to have read a switch to turn off or at least ignore prompts on open from
vba.

 

Please post again if you find a solution (in vba),
and I will do the same.

 

Ricky


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

HI All,

 

I'm trying to iterate through a list of files and
open each one, through VBA.

 

The problem is, when trying to open a file that
has an Xref missing, the script stops and prompts the user to point to the
missing file. I, of course, would just press Cancel.

 

Is it possible to bypass this prompt, and just
continue the script? Is there a way to turn off notifications?

 

thx

 










src="cid:004d01c3940c$d0d03410$2b00a8c0@miker1">
Michael Rand

Analyste
programmeur
Programmer Analyst

1405 TransCanada, Suite
500
Dorval, Québec
Canada, H9P 2V9

Tel: (514) 683-6838 x.
233
Fax: (514) 683-8020
Pager: (514) 614-2688

href="mailto:[email protected]">
color=#666666>[email protected]



href="http://www.dtdcad.com">www.dtdcad.com

href="http://support.dtdcad.com">support.dtdcad.com

0 Likes