<?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: acad.lsp running on every drawing in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/acad-lsp-running-on-every-drawing/m-p/5684027#M140701</link>
    <description>&lt;P&gt;Hi smbrennan85,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try copy/paste&lt;/P&gt;
&lt;PRE&gt;(if (setq a (findfile "acad.lsp"))(startapp "notepad" a))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;PRE&gt;(if (setq b (findfile "acaddoc.lsp"))(startapp "notepad" b))&lt;/PRE&gt;
&lt;P&gt;to the command line, and see if AutoCAD is finding &lt;SPAN class="hps"&gt;the right&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;files&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps, &lt;BR /&gt;Henrique&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jun 2015 22:03:41 GMT</pubDate>
    <dc:creator>hmsilva</dc:creator>
    <dc:date>2015-06-18T22:03:41Z</dc:date>
    <item>
      <title>acad.lsp running on every drawing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/acad-lsp-running-on-every-drawing/m-p/5683600#M140700</link>
      <description>&lt;P&gt;Okay, first I know the difference between the two. acad is for the application and only runs when it's opened, and acaddoc runs when any document is opened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that for some users, the acad.lsp is loading for EVERY drawing. I've already checked their ACADLSPASDOC variables, and they are set to 0 as they should be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm just getting into a little customization, so I know very little about LISP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached are my LISP routines - they're very basic and created from looking up similar routines and modifying them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a snapshot of someone's command line:&lt;/P&gt;&lt;PRE&gt;Opening an AutoCAD 2013 format file.
Substituting [simplex.shx] for [Peridot].
Substituting [simplex.shx] for [archd.shx].

Resolve Xref "4008_TBK_30x42": .\3.2.0.2_Construction\4008_TBK_30x42.dwg
"4008_TBK_30x42" loaded: X:\CAD Files\Centro\11 E Madison Street Floor 6 Chicago, Il 60602\Centro\Received DWGs\IFC CAD Files_06-03-15\E3-pow-contractor - Standard\3.2.0.2_Construction\4008_TBK_30x42.dwg
"4008_TBK_30x42" reference file may have changed since host drawing was last saved.

Resolve Xref "brdlogo": .\Standard Drawings\brdlogo.dwg
"brdlogo" loaded: X:\CAD Files\Centro\11 E Madison Street Floor 6 Chicago, Il 60602\Centro\Received DWGs\IFC CAD Files_06-03-15\E3-pow-contractor - Standard\Standard Drawings\brdlogo.dwg
"brdlogo" reference file may have changed since host drawing was last saved.

Resolve Xref "4008_01_6A.X_PLANS": .\4008_01_6A.X_PLANS.dwg
"4008_01_6A.X_PLANS" loaded: X:\CAD Files\Centro\11 E Madison Street Floor 6 Chicago, Il 60602\Centro\Received DWGs\IFC CAD Files_06-03-15\E3-pow-contractor - Standard\4008_01_6A.X_PLANS.dwg
"4008_01_6A.X_PLANS" reference file may have changed since host drawing was last saved.

Resolve Xref "TITBLK_30X42": X:\CAD Files\Centro\11 E Madison Street Floor 6 Chicago, Il 60602\Centro\CECCo DWGs\xrefs\TITBLK_30X42.dwg
"TITBLK_30X42" loaded.
"TITBLK_30X42" reference file may have changed since host drawing was last saved.

Resolve Xref "CE-E6.06A1 6th FLOOR - AREA A BASKET TRAY &amp;amp; SECURITY PLAN": ..\..\..\CECCo DWGs\CE-E6.06A1 6th FLOOR - AREA A BASKET TRAY &amp;amp; SECURITY PLAN.dwg
"CE-E6.06A1 6th FLOOR - AREA A BASKET TRAY &amp;amp; SECURITY PLAN" loaded: X:\CAD Files\Centro\11 E Madison Street Floor 6 Chicago, Il 60602\Centro\CECCo DWGs\CE-E6.06A1 6th FLOOR - AREA A BASKET TRAY &amp;amp; SECURITY PLAN.dwg
"CE-E6.06A1 6th FLOOR - AREA A BASKET TRAY &amp;amp; SECURITY PLAN" reference file may have changed since host drawing was last saved.

Resolve Xref "Arch Floor Pan": X:\CAD Files\Centro\11 E Madison Street Floor 6 Chicago, Il 60602\Centro\Received DWGs\IFC CAD Files_06-03-15\E3-pow-contractor - Standard\Arch Floor Pan.dwg
"Arch Floor Pan" loaded.
"Arch Floor Pan" reference file may have changed since host drawing was last saved.
Regenerating model.
Press ENTER to continue:

AutoCAD menu utilities loaded.Deleting registered application "ACAD_EXEMPT_FROM_CAD_STANDARDS".
Deleting registered application "ACAD_MLEADERVER".
Deleting registered application "AEC_DWGSETUP_HVAC_AIR_FLOW_UNIT".
Deleting registered application "AEC_DWGSETUP_HVAC_FRICTION_UNIT".
Deleting registered application "AEC_DWGSETUP_HVAC_VELOCITY_UNIT".
Deleting registered application "AECB_HALOED_LINE_OUTLINE_EDGE_LIMIT".
Deleting registered application "AECB_OSNAP_MEP".
Deleting registered application "AECBASE".
Deleting registered application "AECGUIBASE".
Deleting registered application "ManulPointsAssociative".
10 registered applications deleted.

No unreferenced registered applications found.

AutoCAD MEP menu utilities loaded.
AutoCAD Architecture menu utilities loaded.
No unreferenced registered applications found.

No unreferenced registered applications found.

:: BFind.lsp | Version 2.0 | © Lee Mac 2011 www.lee-mac.com ::
:: Type "BFind" to Invoke ::CHGBLK loaded.
Command: filedia
Enter new value for FILEDIA &amp;lt;1&amp;gt;: 0 _menuunload
Enter the name of a Customization Group to unload:CECCo_2015_Dark
Customization file unloaded successfully. Customization Group: CECCo_2015_Dark
_menuload
Enter name of customization file to load: C:\CECCo\CUI\CECCo 2015 Dark.cuix
Customization file loaded successfully. Customization Group: CECCO_2015_DARK


Autodesk DWG.  This file is a TrustedDWG last saved by an Autodesk application or Autodesk licensed application.

Command:

Command: filedia
Enter new value for FILEDIA &amp;lt;0&amp;gt;: 1

Command:
No unreferenced registered applications found.


No unreferenced registered applications found.



Command: filedia
Enter new value for FILEDIA &amp;lt;1&amp;gt;: 0

Command: _menuunload
Enter the name of a Customization Group to unload:CECCo_2015_Dark
Customization file unloaded successfully. Customization Group: CECCo_2015_Dark


Command: _menuload
Enter name of customization file to load: C:\CECCo\CUI\CECCo 2015 Dark.cuix
Customization file loaded successfully. Customization Group: CECCO_2015_DARK


Command:

Command: filedia
Enter new value for FILEDIA &amp;lt;0&amp;gt;: 1

Command:
Command:
Command: *Cancel*

Command:
Command: *Cancel*&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What else can I check?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2015 18:46:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/acad-lsp-running-on-every-drawing/m-p/5683600#M140700</guid>
      <dc:creator>smbrennan</dc:creator>
      <dc:date>2015-06-18T18:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: acad.lsp running on every drawing</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/acad-lsp-running-on-every-drawing/m-p/5684027#M140701</link>
      <description>&lt;P&gt;Hi smbrennan85,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try copy/paste&lt;/P&gt;
&lt;PRE&gt;(if (setq a (findfile "acad.lsp"))(startapp "notepad" a))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;PRE&gt;(if (setq b (findfile "acaddoc.lsp"))(startapp "notepad" b))&lt;/PRE&gt;
&lt;P&gt;to the command line, and see if AutoCAD is finding &lt;SPAN class="hps"&gt;the right&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;files&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps, &lt;BR /&gt;Henrique&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2015 22:03:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/acad-lsp-running-on-every-drawing/m-p/5684027#M140701</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2015-06-18T22:03:41Z</dc:date>
    </item>
  </channel>
</rss>

