<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Need help with ARX loading before Xrefs in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-with-arx-loading-before-xrefs/m-p/1146510#M153664</link>
    <description>I have an ARX that I need to load before the xrefs load. I am using AutoCAD 2004/2005. The  ARX helps map autocad to the correct area I keep xrefs. &lt;BR /&gt;
&lt;BR /&gt;
The problem is that if users double-click a dwg autocad opens and does not find the xref (because the program has not loaded yet) then the ARX loads. &lt;BR /&gt;
&lt;BR /&gt;
But if I first open autocad the ARX loads then double-clicking the dwg or use Autocad's File-&amp;gt;Open (because the arx is already loaded) Autocad finds the xrefs with no problem. &lt;BR /&gt;
&lt;BR /&gt;
So for now I have been telling users to first open Autocad then use File-&amp;gt;Open. But this is not acceptable. &lt;BR /&gt;
&lt;BR /&gt;
I have put the ARX load in acad.lsp, acaddoc.lsp, acad.rx &amp;amp; acad.mnl but the xrefs load first.</description>
    <pubDate>Wed, 29 Sep 2004 16:57:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-09-29T16:57:28Z</dc:date>
    <item>
      <title>Need help with ARX loading before Xrefs</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-with-arx-loading-before-xrefs/m-p/1146510#M153664</link>
      <description>I have an ARX that I need to load before the xrefs load. I am using AutoCAD 2004/2005. The  ARX helps map autocad to the correct area I keep xrefs. &lt;BR /&gt;
&lt;BR /&gt;
The problem is that if users double-click a dwg autocad opens and does not find the xref (because the program has not loaded yet) then the ARX loads. &lt;BR /&gt;
&lt;BR /&gt;
But if I first open autocad the ARX loads then double-clicking the dwg or use Autocad's File-&amp;gt;Open (because the arx is already loaded) Autocad finds the xrefs with no problem. &lt;BR /&gt;
&lt;BR /&gt;
So for now I have been telling users to first open Autocad then use File-&amp;gt;Open. But this is not acceptable. &lt;BR /&gt;
&lt;BR /&gt;
I have put the ARX load in acad.lsp, acaddoc.lsp, acad.rx &amp;amp; acad.mnl but the xrefs load first.</description>
      <pubDate>Wed, 29 Sep 2004 16:57:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-with-arx-loading-before-xrefs/m-p/1146510#M153664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-09-29T16:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with ARX loading before Xrefs</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-with-arx-loading-before-xrefs/m-p/1146511#M153665</link>
      <description>one solution is to react to the drawing being saved

your code will unload all xrefs before it saves.  then upon subsequent
opening, your arx will load and then reload the xrefs

the only problem there is that you wont be able to distinguish xrefs that
the user intends to remain unloaded, that is, unless you store (in a
dictionary?) which xrefs the user set to remain unloaded, all xrefs will be
loaded





"212nyeric" &lt;NOSPAM&gt; wrote in message
news:21486758.1096477078343.JavaMail.jive@jiveforum2.autodesk.com...
&amp;gt; I have an ARX that I need to load before the xrefs load. I am using
AutoCAD 2004/2005. The  ARX helps map autocad to the correct area I keep
xrefs.
&amp;gt;
&amp;gt; The problem is that if users double-click a dwg autocad opens and does not
find the xref (because the program has not loaded yet) then the ARX loads.
&amp;gt;
&amp;gt; But if I first open autocad the ARX loads then double-clicking the dwg or
use Autocad's File-&amp;gt;Open (because the arx is already loaded) Autocad finds
the xrefs with no problem.
&amp;gt;
&amp;gt; So for now I have been telling users to first open Autocad then use
File-&amp;gt;Open. But this is not acceptable.
&amp;gt;
&amp;gt; I have put the ARX load in acad.lsp, acaddoc.lsp, acad.rx &amp;amp; acad.mnl but
the xrefs load first.&lt;/NOSPAM&gt;</description>
      <pubDate>Thu, 30 Sep 2004 16:01:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-help-with-arx-loading-before-xrefs/m-p/1146511#M153665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-09-30T16:01:00Z</dc:date>
    </item>
  </channel>
</rss>

