Automatically reload an xref that "needs reloading"

Discussion in 'AutoCAD' started by bsteele, Sep 30, 2004.

  1. bsteele

    bsteele Guest

    I've searched through the posts of this group and have only found 2 or 3 topics listed, with little or no information contained within. So I'll put it up front again. Is there a way to do what's listed in the topic title? Is there any way to access the "needs reloading" variable(?) in Acad 2004/2005 when an xref has been updated in the current drawing?
    I'm a little surprised that this topic isn't more of a "hot topic". I think that that ability could really improve one's work performance. I'd post some code, but have no idea where to start....maybe:

    (vl-load-com)
    (defun....

    I would think some type of reactor could be used.
     
    bsteele, Sep 30, 2004
    #1
  2. I think that i understand what you are saying and i had a problem similar to this for a while and finally figured out that in your options dialog box under the open and save tabs and on the right where it says External Reference (XREFS) there is a place to check the box and it says Retain Changes to Xref Layers. That needs to be checked otherwise when you are in a drawing that has an Xref and you freeze or thaw something save it and close but open it back up it as if nothing had changed. Check on this and make sure yours is checked and hope this helps you out some..

    Take care
     
    thunderofsilence, Oct 7, 2004
    #2
  3. bsteele

    bsteele Guest

    Thanks for the response. However, I don't think you understand. Perhaps I need to clarify.
    Say I'm working on a master Profile of a road which is Xrefed into 5-10 Plan and Profile sheets that go into a construction set of plans. There are 3 or 4 CADD guys working on these sheets, revising build notes, updating page numbers, etc.... Now we are all working on the same project at the same time, different files of course. When I complete my modifications to the "master" Profile, I'll save the drawing. Now the 3 or 4 CADD guys working on the "sheet" files in AutoCAD 2005 see this little notification down at the lower right corner of the AutoCAD window that says "Master Profile needs reloading". So they then have to open the Xref dialogue and pick the Master Profile out of the list and then reload it.
    What I'm looking for is a way to automate this last step, for AutoCAD to automatically reload the XREF that needs reloading. This could save time and make sure that each "sheet" file is going to have the current design without the risk of user neglecting or forgetting to reload.
    If anyone out there has ANY ideas, I sure would like to hear(read) them.

    Thanks,
    Brad
     
    bsteele, Oct 7, 2004
    #3
  4. Brad,

    Ok, im sorry i misunderstood what you were trying to do. But would have to agree with you that would save time and hope somebody can come up with a better solution for you (and me).

    Wish i could of been more help!
     
    thunderofsilence, Oct 7, 2004
    #4
  5. I have created a button, that sits close to where the xref pop warning appears. I just click on the button and it reloads the xrefs, if there is one xref the warning will disappear if there are multiple xref the warning does not disappear. Not automatic, but you control when you reload and it is fast enough for me. If it could be done, I would think it would be annoying the time lag that it would create while reloading the xref (something like the automatic save)

    button code ^C^C-XREF R *
     
    MarcelGosselin, Oct 8, 2004
    #5
  6. bsteele

    bsteele Guest

    That's a nice shortcut. I also have a button similar to that one, but sometimes it is not what's needed. For example, I'll sometimes have files attached that are used only as reference (usually unloaded, most of the time) and will never be part of the Printed Drawing. As you know, An unloaded Xref reloads a lot faster than a Reattached one would and an unloaded Xref also maintains layer status. What would be nice is to have a tool that could isolate that "just saved" condition of an Xref that is to be displayed in a printed state (or an "always loaded" Xref).
    I hope I'm making sense.
    If there was just a way to access that "Xref updated" notification....................
    Any ideas? Anyone?

    Thanks,
    Brad
     
    bsteele, Oct 8, 2004
    #6
  7. bsteele

    bsteele Guest

    Anyone? I'm sure at least ONE of the Guru's could shine some light this way. I've learned a lot from you all and would really enjoy some feedback.....somebody?

    Thanks
    Brad
     
    bsteele, Oct 11, 2004
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.