<?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: Template Folder Path in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/template-folder-path/m-p/10723778#M14759</link>
    <description>&lt;P&gt;Thank you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; One of these day's I'm going to commit to switching&lt;SPAN&gt;. The translating is starting to get annoying.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 19:05:51 GMT</pubDate>
    <dc:creator>SRSDS</dc:creator>
    <dc:date>2021-10-29T19:05:51Z</dc:date>
    <item>
      <title>Template Folder Path</title>
      <link>https://forums.autodesk.com/t5/net-forum/template-folder-path/m-p/10723715#M14757</link>
      <description>&lt;P&gt;Is there a way to access the templates folder path?&lt;/P&gt;&lt;P&gt;C:\Users\USER\AppData\Local\Autodesk\AutoCAD 2018\R22.0\enu\Template\acadiso.dwt&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 18:43:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/template-folder-path/m-p/10723715#M14757</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2021-10-29T18:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Template Folder Path</title>
      <link>https://forums.autodesk.com/t5/net-forum/template-folder-path/m-p/10723752#M14758</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You have to use the Preferences COM object (see&amp;nbsp;&lt;A href="https://help.autodesk.com/view/OARX/2019/ENU/?guid=GUID-7E1AC51A-CDD6-4CD5-8703-3D3A472BFFC5" target="_blank" rel="noopener"&gt;this topic&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;To avoid referncing the COM libraries, you can use late binding with dynamic type (C#) or Object (VB).&lt;/P&gt;
&lt;P&gt;C#&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;dynamic preferences = Application.Preferences;
string templatePath = preferences.Files.TemplateDWGPath;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;VB&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Dim preferences As Object = Application.Preferences
Dim templatePath As String = preferences.Files.TemplateDWGPath&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 29 Oct 2021 18:58:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/template-folder-path/m-p/10723752#M14758</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2021-10-29T18:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Template Folder Path</title>
      <link>https://forums.autodesk.com/t5/net-forum/template-folder-path/m-p/10723778#M14759</link>
      <description>&lt;P&gt;Thank you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; One of these day's I'm going to commit to switching&lt;SPAN&gt;. The translating is starting to get annoying.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 19:05:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/template-folder-path/m-p/10723778#M14759</guid>
      <dc:creator>SRSDS</dc:creator>
      <dc:date>2021-10-29T19:05:51Z</dc:date>
    </item>
  </channel>
</rss>

