<?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: Is it possible to use relative path in AutoCAD script in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11403371#M11750</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you try like this?&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;netload ".\bin\Debug\2023\Civil3DIntegratorTest.dll"
RunCADtests&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 11:24:29 GMT</pubDate>
    <dc:creator>_gile</dc:creator>
    <dc:date>2022-09-06T11:24:29Z</dc:date>
    <item>
      <title>Is it possible to use relative path in AutoCAD script</title>
      <link>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11403268#M11749</link>
      <description>&lt;P&gt;I have an AutoCAD script, AutoNetLoad2023.scr, which is located at&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;C:\Users\User\Documents\Civil3DIntegrator\Test&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The content of the script is as per below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;netload "C:\Users\User\Documents\Civil3DIntegrator\Test\bin\Debug\2023\Civil3DIntegratorTest.dll"
RunCADtests&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that the Civil3DIntegratorTest.dll is located a few directories below the location of the&amp;nbsp;AutoNetLoad2023.scr.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder is it possible to modify the content of the script so that I can somehow specify the relative path of Civil3DIntegratorTest.dll ( to the AutoNetLoad2023.scr script), instead of absolute path?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 10:18:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11403268#M11749</guid>
      <dc:creator>soonhui</dc:creator>
      <dc:date>2022-09-06T10:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use relative path in AutoCAD script</title>
      <link>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11403371#M11750</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you try like this?&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;netload ".\bin\Debug\2023\Civil3DIntegratorTest.dll"
RunCADtests&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 11:24:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11403371#M11750</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2022-09-06T11:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use relative path in AutoCAD script</title>
      <link>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11405254#M11751</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt;&amp;nbsp;, I tried, no, it doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;netload "..\bin\Debug\2023\Civil3DIntegratorTest.dll"
RunCADtests&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Also not working&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 06:38:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11405254#M11751</guid>
      <dc:creator>soonhui</dc:creator>
      <dc:date>2022-09-07T06:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use relative path in AutoCAD script</title>
      <link>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11405331#M11752</link>
      <description>&lt;P&gt;Even if I wrote my scr as lsp file as such:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(command "netload" "..\\bin\\Debug\\2023\\Civil3DIntegrator.dll") &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It also doesn't work, the F2 only tells me&amp;nbsp;&lt;STRONG&gt;Unable to load ..\bin\Debug\2023\Civil3DIntegrator.dll assembly&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've no idea why.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 07:24:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11405331#M11752</guid>
      <dc:creator>soonhui</dc:creator>
      <dc:date>2022-09-07T07:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use relative path in AutoCAD script</title>
      <link>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11405577#M11753</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(command "netload" ".\\bin\\Debug\\2023\\Civil3DIntegrator.dll") &lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 07 Sep 2022 09:17:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11405577#M11753</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2022-09-07T09:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use relative path in AutoCAD script</title>
      <link>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11405610#M11754</link>
      <description>&lt;P&gt;Another thing: the path have to be relative to directory the script is called from.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 09:38:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11405610#M11754</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2022-09-07T09:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use relative path in AutoCAD script</title>
      <link>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11407692#M11755</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt;&amp;nbsp;, no, this command also doesn't work. Lisp also doesn't know how to interpret relative path.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 05:47:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/is-it-possible-to-use-relative-path-in-autocad-script/m-p/11407692#M11755</guid>
      <dc:creator>soonhui</dc:creator>
      <dc:date>2022-09-08T05:47:13Z</dc:date>
    </item>
  </channel>
</rss>

