Hi Doug,
I suspected what I wanted to do couldn't be done, just hoped one of you guys
had some sort of work around.
Using overlayed xrefs would definitely solve the problem, and a reactor to
confirm that an xref has to be attached rather than overlayed is another
path I was considering.
Thanks for your suggestions, I'll investigate them all.
Steve
"Doug Broad" wrote in message
news:42957650A35D848418A583454E54FB73@in.WebX.maYIadrTaRb...
> Steve,
> Hello. You may misunderstand what reactors can and can't do. 1) Reactor
> callbacks can not be "interactive".
> IOW, they can't give users choices to decide.
> 2) Reactor commands can't interfere with commands
> in progress. The state of AutoCAD is an unknown during
> a callback. Some commands, however, can be reversed after the fact by
using
> command reactors.
>
> What kinds of troubles are you having with unloaded with unloaded nested
> xref's? Could they be solved by using overlayed nested xrefs rather than
> attached nested xref's?
>
> Reactors could be used to write to a file reporting information about the
> xref's at the time of closing the file.
>
> A command could be written to better manage the binding process. That
> command could determine which xref's are unloaded and make the binding
> process smoother.
>
> You might also benefit from Adesk's xref manager which provides a good
> picture over an entire directory/project the relationships between xref's.
>
> Doug
>
>
> "Steve Jones" wrote in message
> news:406A1F6BB938E88E6DCAFC4CA2C631D0@in.WebX.maYIadrTaRb...
> > Hello all,
> >
> > We have trouble with binding xrefs to drawings if they have another xref
> > unloaded within them.
> > I'm writing a routine that I would like to offer the option, when a
> drawing
> > is closed, to cancel the close command if there are uloaded xrefs within
> > that drawing.
> >
> > I'm currently using
> >
> > (vlr-dwg-reactor
> > "UnloadedXrefAlert"
> > '((:vlr-BeginClose . XrefAlert))
> > )
> >
> > where XrefAlert only alerts the user to the fact that there are unloaded
> > xrefs in the drawing.
> >
> > So, getting to the point, can I stop the close command completing?
> >
> > LUIS, ARE YOU THERE??????
> >
> > Steve
> >
> >
>
>