<?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: Script not found. Retrieve error message after opening a drawing. in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8513020#M98718</link>
    <description>&lt;P&gt;Here is a more detailed thread I've open in AUGI forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.augi.com/showthread.php?172491-How-to-get-error-message-text" target="_blank"&gt;http://forums.augi.com/showthread.php?172491-How-to-get-error-message-text&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workaround works 99% of the time. It fails only if two users are opening a drawing at exactly the same time, which has only happened once or twice since I changed the&amp;nbsp;&lt;SPAN&gt;accaddoc.lsp&lt;/SPAN&gt; file to make it work better. I'm happy with this and will not keep looking for further improvements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, the other poster having the same problem is a coworker of mine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The software provider (Siemens) so far has not show desires to fix this problem. They are trying to make us use a new software that is still being developed and has many bugs. We already tried it and&amp;nbsp;we'd rather keep the one we have.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jan 2019 13:38:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-01-10T13:38:39Z</dc:date>
    <item>
      <title>Script not found. Retrieve error message after opening a drawing.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8314027#M98713</link>
      <description>&lt;P&gt;After opening a drawing that includes an automated call of a script, some times we get an error due to the script is not found in the path.&lt;/P&gt;
&lt;P&gt;Look at the attachment please.&lt;/P&gt;
&lt;P&gt;I'm trying to work around this problem but I need to retrieve the error so I can save the script file name and look for the missing file. Want to automate this search.&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="Capture1 (2).PNG" style="width: 477px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/563164i144DCEBCBBCE241A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1 (2).PNG" alt="Capture1 (2).PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #808000;"&gt;john.vellek&lt;/SPAN&gt; has embedded your image(s) for clarity&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 20:47:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8314027#M98713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-29T20:47:50Z</dc:date>
    </item>
    <item>
      <title>Betreff: Script not found. Retrieve error message after opening a drawing.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8314051#M98714</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/autocad-2018-script-fails-scr-scr/td-p/7595168&amp;nbsp;" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/autocad-2018-script-fails-scr-scr/td-p/7595168&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same issue.&lt;/P&gt;
&lt;P&gt;How you start Autocad with script switch &amp;nbsp;in detail?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 20:35:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8314051#M98714</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2018-10-04T20:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Script not found. Retrieve error message after opening a drawing.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8314075#M98715</link>
      <description>&lt;P&gt;I'm not sure i understand how the drawing is calling the script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if you are having a problem with a script you might want to hop over to the customization forum&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 20:47:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8314075#M98715</guid>
      <dc:creator>TheCADnoob</dc:creator>
      <dc:date>2018-10-04T20:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Script not found. Retrieve error message after opening a drawing.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8366838#M98716</link>
      <description>&lt;P&gt;I did not find an answer to my original question. I found a workaround though. It involves using a couple of lisp commands, which I placed inside a new acaddoc.lsp file to rename all scripts in the folder as .scr.scr. This way, every time a drawing is opened the second extension is added and AutoCAD can run it. The downside is that the extension is added to all files with .scr extension in the folder, so I ended up with files with multiple scr extensions. I solved this including a second command in the acaddoc file to delete all files with more than two extensions. Not a perfect solution but it works most of the times.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 20:35:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8366838#M98716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-29T20:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Script not found. Retrieve error message after opening a drawing.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8367580#M98717</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i order to give you some help to sort this out you need to give us more info about how do you invoke AutoCAD?&lt;/P&gt;&lt;P&gt;what do you mean by '&lt;SPAN&gt;automated call of a script' ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are you running some application?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can you explain why does it work only some times?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;just to make it clear, the error you are getting is a result of calling AutoCAD with startup script that AutoCAD can not find. the call with script can come from a shortcut icon on your desktop you are using or from some batch file you invoke.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;either it's miss spell file name\path&amp;nbsp; or the file is not exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;moshe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 06:19:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8367580#M98717</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2018-10-30T06:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Script not found. Retrieve error message after opening a drawing.</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8513020#M98718</link>
      <description>&lt;P&gt;Here is a more detailed thread I've open in AUGI forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.augi.com/showthread.php?172491-How-to-get-error-message-text" target="_blank"&gt;http://forums.augi.com/showthread.php?172491-How-to-get-error-message-text&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workaround works 99% of the time. It fails only if two users are opening a drawing at exactly the same time, which has only happened once or twice since I changed the&amp;nbsp;&lt;SPAN&gt;accaddoc.lsp&lt;/SPAN&gt; file to make it work better. I'm happy with this and will not keep looking for further improvements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, the other poster having the same problem is a coworker of mine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The software provider (Siemens) so far has not show desires to fix this problem. They are trying to make us use a new software that is still being developed and has many bugs. We already tried it and&amp;nbsp;we'd rather keep the one we have.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 13:38:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/script-not-found-retrieve-error-message-after-opening-a-drawing/m-p/8513020#M98718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-10T13:38:39Z</dc:date>
    </item>
  </channel>
</rss>

