<?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: [Autocad Scripts] Project-wide script hangs on first drawing in AutoCAD Electrical Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327810#M532</link>
    <description>&lt;P&gt;It's quite hard to test this due to the files involved, does it work if you put another line here? this is the equivalent of pressing enter again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jamesmcmillanNYR6A_0-1739972323966.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468677i2BA82269B70E8011/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jamesmcmillanNYR6A_0-1739972323966.png" alt="jamesmcmillanNYR6A_0-1739972323966.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 13:39:38 GMT</pubDate>
    <dc:creator>james.mcmillanNYR6A</dc:creator>
    <dc:date>2025-02-19T13:39:38Z</dc:date>
    <item>
      <title>[Autocad Scripts] Project-wide script hangs on first drawing</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13326411#M527</link>
      <description>&lt;P&gt;I am trying to run a script on a project in Autocad Electrical 2025. The script loads an .LSP file. The .LSP file imports wire layers from a .DFT file into the drawing. It works normally when doing an active drawing, but when I try to run the script project-wide, it hangs. I've pasted the whole script text below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;;script to load all the MCS wire layers into the current drawing&lt;BR /&gt;;cmdecho 1&lt;BR /&gt;(load "C:\\_MCS_ENG_Vault\\ACADE_Shared\\AeData\\MCS-UPD-CLAY.LSP")&lt;BR /&gt;MCS-UPD-CLAY&lt;BR /&gt;MCS-STANDARD&lt;BR /&gt;E&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When I try to run the script through the Project-Wide Utilities button, it prints out the results on the console more than once and it never ends up running the command. Sometimes it crashes. See Photo&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brybarczyk_0-1739914352154.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468369i82C3D23CD8F4DBCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brybarczyk_0-1739914352154.png" alt="brybarczyk_0-1739914352154.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get this figured out because it would be a huge help to my team and myself.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 21:34:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13326411#M527</guid>
      <dc:creator>brybarczyk</dc:creator>
      <dc:date>2025-02-18T21:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: [Autocad Scripts] Project-wide script hangs on first drawing</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327142#M528</link>
      <description>&lt;P&gt;do you have enough enters (new line) in your script to finish the command sequence allowing the utility to continue to the next drawing?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 07:22:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327142#M528</guid>
      <dc:creator>james.mcmillanNYR6A</dc:creator>
      <dc:date>2025-02-19T07:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: [Autocad Scripts] Project-wide script hangs on first drawing</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327695#M529</link>
      <description>&lt;P&gt;Yes. After the user inputs 'E' and presses enter, the script should finish because that's the last enter of the script&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 13:06:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327695#M529</guid>
      <dc:creator>brybarczyk</dc:creator>
      <dc:date>2025-02-19T13:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: [Autocad Scripts] Project-wide script hangs on first drawing</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327713#M530</link>
      <description>&lt;P&gt;share your script file, you will need to change the file extension to .txt to attach&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 13:12:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327713#M530</guid>
      <dc:creator>james.mcmillanNYR6A</dc:creator>
      <dc:date>2025-02-19T13:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: [Autocad Scripts] Project-wide script hangs on first drawing</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327740#M531</link>
      <description>&lt;P&gt;The MCS-UPD-CLAY.LSP file was converted to .txt along with the .scr file&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 13:23:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327740#M531</guid>
      <dc:creator>brybarczyk</dc:creator>
      <dc:date>2025-02-19T13:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: [Autocad Scripts] Project-wide script hangs on first drawing</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327810#M532</link>
      <description>&lt;P&gt;It's quite hard to test this due to the files involved, does it work if you put another line here? this is the equivalent of pressing enter again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jamesmcmillanNYR6A_0-1739972323966.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1468677i2BA82269B70E8011/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jamesmcmillanNYR6A_0-1739972323966.png" alt="jamesmcmillanNYR6A_0-1739972323966.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 13:39:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327810#M532</guid>
      <dc:creator>james.mcmillanNYR6A</dc:creator>
      <dc:date>2025-02-19T13:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: [Autocad Scripts] Project-wide script hangs on first drawing</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327901#M533</link>
      <description>&lt;P&gt;It works fine when I select the Active Drawing, but not when I select Project-Wide. I've added more and more &amp;lt;new line&amp;gt; (I added up to 8 new lines at one point) but I still get the same result.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 14:08:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327901#M533</guid>
      <dc:creator>brybarczyk</dc:creator>
      <dc:date>2025-02-19T14:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: [Autocad Scripts] Project-wide script hangs on first drawing</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327982#M534</link>
      <description>&lt;P&gt;sure, adding more lines won't help, this is the equivalent of pressing enter in AutoCAD, which assuming the command has finished will just try to repeat the last command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it stuck somewhere internally to your lisp? (princ) at the end might help, looks like it might be trying to repeat the selection of DFT name&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 14:33:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/autocad-scripts-project-wide-script-hangs-on-first-drawing/m-p/13327982#M534</guid>
      <dc:creator>james.mcmillanNYR6A</dc:creator>
      <dc:date>2025-02-19T14:33:11Z</dc:date>
    </item>
  </channel>
</rss>

