<?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 Re: Reg: autoload function for Lisp in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827560#M138233</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@jeri32 wrote:&lt;BR /&gt;
&lt;P&gt;Why not load all lisp on entire directory without typing the file name. Something like this.&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's a good idea if they always want to load &lt;EM&gt;every&lt;/EM&gt; AutoLisp file in that folder. &amp;nbsp;I know I have a lot of such files in the place where I keep such things that I &lt;EM&gt;don't&lt;/EM&gt; always want loaded [or autoloaded], because I use them only rarely, so I load one only if and when I need it. &amp;nbsp;But certainly one could make a separate folder for things that should &lt;EM&gt;always&lt;/EM&gt; be loaded, use your suggestion on that folder, and keep things that are used only occasionally in a different folder.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2015 13:38:07 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2015-09-22T13:38:07Z</dc:date>
    <item>
      <title>Reg: autoload function for Lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5826968#M138228</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I loaded many lisp files by using below autoload function.but some of lisp files failed to load on Startup,but if we load Indiviually its Working Fine.&lt;/P&gt;&lt;P&gt;Whether My load function is wrong,By the way I m not a lisp Programmer,So please anyone Guide me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saved the Below as Acaddoc.lsp and loaded via Trusted locations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/ALIGN_TEXT_ALT.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/ArxLoad.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/AutoBlockBreakV1-7.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/BFind.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/BLCC.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/Block_Annotative_Match_Orientation.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/Boreholes.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/CircularWipeout.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/COLORX.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/CopyRenameBlockV1-5.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/CopySwapTextV1-4.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/DDLyrAdd.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/DDLyrCas.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/DDLyrOn.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/DDLyrTh.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/DTCurve.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/FindReplaceALL.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/HATCHTOOLS.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/IncArrayV1-7.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/LenCal V1.7.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/MacAttV3-1.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/Netload.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/ObjectAlign.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/PTManagerV2-4.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/Random.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS Alert.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS Annotate.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS Config.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS DR2CAD.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS Drainage.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS Miscellaneous.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS MX2CAD.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS NRS2.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS PageSetup.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS Palettes.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/SetoutPoints.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/Steal.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/StripMtext.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/Supersede.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/TabSortV2-2.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/TfNSW Annotate.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/TrialPits.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/UTB.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/VLXLoad.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/WILDCARD SYNTAX.lsp")&lt;BR /&gt;(LOAD "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/XRV2.lsp")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dilipan.S&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 06:17:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5826968#M138228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-22T06:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: autoload function for Lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827002#M138229</link>
      <description>&lt;P&gt;Maybe try AUTOLOAD. It loads only when you call its commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(autoload "C:/Users/***/Autocad/Settings/Support/Apps/OneMtext.lsp" '("1MT0" "TXT2MTXT2" "1MT2" "ATT2TXT"))&lt;/PRE&gt;
&lt;P&gt;... with all commands at the end.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 07:15:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827002#M138229</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2015-09-22T07:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: autoload function for Lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827372#M138230</link>
      <description>&lt;P&gt;Could it be that there are some little typographical errors in the super-file-path prefixes in some of them, or in the file names themselves?&amp;nbsp; Those are never an issue when you load things manually by navigating and selecting file names, but they might be in spelled-out (load) functions.&amp;nbsp; One way to avoid the possibility of filepath errors, and to shorten the code quite a lot, is to &lt;FONT color="#ff0000"&gt;put the common filepath into a variable&lt;/FONT&gt; so you know it's spelled out exactly the same way in each line of code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(setq &lt;FONT color="#ff0000"&gt;base&lt;/FONT&gt; "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/")&lt;/P&gt;
&lt;P&gt;(load &lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;(strcat&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#ff0000"&gt;base&lt;/FONT&gt; "ALIGN_TEXT_ALT"&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;(load &lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;(strcat&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#ff0000"&gt;base&lt;/FONT&gt; "ArxLoad"&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;)&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#00ccff"&gt;&lt;FONT color="#000000"&gt;(load&lt;/FONT&gt; &lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;(strcat&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#ff0000"&gt;base&lt;/FONT&gt;&lt;FONT color="#000000"&gt; "AutoBlockBreakV1-7"&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#00ccff"&gt;.... etc. ....&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[By the way, you don't need to include the .lsp filetype endings -- it knows what to look for.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or perhaps even better, with the &lt;FONT color="#008000"&gt;file names in a list&lt;/FONT&gt;, and (load) applied to them all in &lt;EM&gt;one&lt;/EM&gt; function:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(setq&lt;STRONG&gt;&lt;FONT color="#008000"&gt; lisps&lt;/FONT&gt;&lt;/STRONG&gt; '("ALIGN_TEXT_ALT"&amp;nbsp;"ArxLoad" "AutoBlockBreakV1-7"&amp;nbsp;&lt;FONT color="#00ccff"&gt;.... etc. ....&lt;/FONT&gt;))&lt;/P&gt;
&lt;P&gt;(mapcar&lt;/P&gt;
&lt;P&gt;&amp;nbsp; '(lambda (x)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (load (strcat "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/" x))&lt;/P&gt;
&lt;P&gt;&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; lisps&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either way contains that long filepath only once, and leaves you with a lot less to plow through looking for possible misspellings.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 11:54:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827372#M138230</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-09-22T11:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: autoload function for Lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827477#M138231</link>
      <description>Hi Kent Cooper,&lt;BR /&gt;It works fine now.Thanks for your answer and response.&lt;BR /&gt;Regards,&lt;BR /&gt;Dilipan&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Sep 2015 12:53:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827477#M138231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-22T12:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: autoload function for Lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827499#M138232</link>
      <description>&lt;P&gt;Why not load all lisp on entire directory without typing the file name. Something like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setq path "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/RMS/")&lt;BR /&gt;&amp;nbsp; (mapcar&lt;BR /&gt;&amp;nbsp; &amp;nbsp; (function&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (lambda (x)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (load (strcat path x))))&lt;BR /&gt;&amp;nbsp; (vl-directory-files path "*.lsp")&lt;BR /&gt;)&lt;BR /&gt;(setq path nil)&lt;BR /&gt;(princ "All lisp loaded!")&lt;BR /&gt;(princ)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 13:03:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827499#M138232</guid>
      <dc:creator>jdiala</dc:creator>
      <dc:date>2015-09-22T13:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: autoload function for Lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827560#M138233</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@jeri32 wrote:&lt;BR /&gt;
&lt;P&gt;Why not load all lisp on entire directory without typing the file name. Something like this.&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's a good idea if they always want to load &lt;EM&gt;every&lt;/EM&gt; AutoLisp file in that folder. &amp;nbsp;I know I have a lot of such files in the place where I keep such things that I &lt;EM&gt;don't&lt;/EM&gt; always want loaded [or autoloaded], because I use them only rarely, so I load one only if and when I need it. &amp;nbsp;But certainly one could make a separate folder for things that should &lt;EM&gt;always&lt;/EM&gt; be loaded, use your suggestion on that folder, and keep things that are used only occasionally in a different folder.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 13:38:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827560#M138233</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-09-22T13:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: autoload function for Lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827572#M138234</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or perhaps even better, with the &lt;FONT color="#008000"&gt;file names in a list&lt;/FONT&gt;, and (load) applied to them all in &lt;EM&gt;one&lt;/EM&gt; function:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(setq&lt;STRONG&gt;&lt;FONT color="#008000"&gt; lisps&lt;/FONT&gt;&lt;/STRONG&gt; '("ALIGN_TEXT_ALT"&amp;nbsp;"ArxLoad" "AutoBlockBreakV1-7"&amp;nbsp;&lt;FONT color="#00ccff"&gt;.... etc. ....&lt;/FONT&gt;))&lt;/P&gt;
&lt;P&gt;(mapcar&lt;/P&gt;
&lt;P&gt;&amp;nbsp; '(lambda (x)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (load (strcat "N:/GLOBAL/APPS RESOURCES/AUTODESK/AUTOCAD/2014/Client Library/2100047/SOC/Lisp/" x))&lt;/P&gt;
&lt;P&gt;&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;nbsp; lisps&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Now it occurs to me.... &amp;nbsp;If you just &lt;EM&gt;put that folder in your Support File Search Path list&lt;/EM&gt; in Options, and assuming there are no such files with the same names in any other folder(s) in that list, &lt;STRONG&gt;&lt;EM&gt;you don't need to spell out the filepath at all!&lt;/EM&gt;&lt;/STRONG&gt; &amp;nbsp;My acaddoc.lsp file has lots of (load) and (autoload) functions with &lt;EM&gt;no filepaths&lt;/EM&gt; in them, and it finds them because they're in a place where it knows to look. &amp;nbsp;Simply:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(mapcar 'load&amp;nbsp;'("ALIGN_TEXT_ALT"&amp;nbsp;"ArxLoad" "AutoBlockBreakV1-7"&amp;nbsp;&lt;FONT color="#00ccff"&gt;.... etc. ....&lt;/FONT&gt;))&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 13:45:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5827572#M138234</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-09-22T13:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: autoload function for Lisp</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5832038#M138235</link>
      <description>&amp;gt;&amp;gt;Now it occurs to me.... &lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;In it's simplest form...&lt;BR /&gt;&lt;BR /&gt;Create a file with key word "Utility" in it. File extension is ".LSP".&lt;BR /&gt;Load this file from one of the interface points (acad.lsp, acaddoc.lsp, MyMenu.mnl, etc.).&lt;BR /&gt;&lt;BR /&gt;Inside, declare the keystroke combination, the load, the execution, and a brief&lt;BR /&gt;explanation AS A SINGLE LINE:&lt;BR /&gt;(defun c:ABC () (load "ABC")(c:ABC) ) ;a simple utility&lt;BR /&gt;(defun c:DEF () (load "DefineMe")(c:DEF) ) ;another utility&lt;BR /&gt;&lt;BR /&gt;Lastly, gather all the "stand-alone" LSP files into one folder and declare the folder&lt;BR /&gt;in the support path and trusted location areas.&lt;BR /&gt;&lt;BR /&gt;The hint here is to use the same keystroke that is declared inside the LSP file. When&lt;BR /&gt;this keystroke is used for the first time, the file is loaded, then executed. It also&lt;BR /&gt;redefines the keystroke so as it will not load repeatedly. This can be called&lt;BR /&gt;"progressive loading".&lt;BR /&gt;&lt;BR /&gt;When a new routine is introduced, simply drop the file into the folder and update&lt;BR /&gt;the Utility file by adding another line.&lt;BR /&gt;&lt;BR /&gt;I do not care for the autoload function as it is command line noisy.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, Dili.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Sep 2015 23:01:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reg-autoload-function-for-lisp/m-p/5832038#M138235</guid>
      <dc:creator>scot-65</dc:creator>
      <dc:date>2015-09-24T23:01:18Z</dc:date>
    </item>
  </channel>
</rss>

