<?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: Create/Save project with UNC Paths in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9799496#M31240</link>
    <description>&lt;P&gt;update...&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DB&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FilePath works with UNC paths .... &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if you just aren't stupid enough to make a minor mistake in the path...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emoji.png" style="width: 194px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/830645i7B078C770EC1C589/image-dimensions/194x194?v=v2" width="194" height="194" role="button" title="emoji.png" alt="emoji.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 13 Oct 2020 08:38:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-13T08:38:57Z</dc:date>
    <item>
      <title>Create/Save project with UNC Paths</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9793025#M31234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a script for creating new models - created with Python in Dynamo. Using UNC paths (\\local\folder\folder\...) instead of traditional (drive:\folder\folder\...) paths I get the following error:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Exception: The model could not be saved: (COleException 0x80030002)&lt;/LI-CODE&gt;&lt;P&gt;Unfortunately, I don't have the option to not use a UNC path. I'm certain the problem originates when I use the result from "ConvertUserVisiblePathToModelPath" in SaveAs(..)&lt;/P&gt;&lt;LI-CODE lang="general"&gt;path = DB.ModelPathUtils.ConvertUserVisiblePathToModelPath(unc_path_here)
...
doc.SaveAs(path, sopt)&lt;/LI-CODE&gt;&lt;P&gt;I have also tried the FilePath method, here the script never stops..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2015/0776a818-f032-a332-ac59-962953d8493a.htm" target="_blank"&gt;https://www.revitapidocs.com/2015/0776a818-f032-a332-ac59-962953d8493a.htm&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.revitapidocs.com/2015/db245ec6-e07a-b989-077a-a2947e308345.htm" target="_blank"&gt;https://www.revitapidocs.com/2015/db245ec6-e07a-b989-077a-a2947e308345.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have a suggestion how to fix the problem? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 05:33:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9793025#M31234</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-09T05:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Save project with UNC Paths</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9794044#M31235</link>
      <description>&lt;P&gt;Can you use SUBST?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/SUBST" target="_blank"&gt;https://en.wikipedia.org/wiki/SUBST&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 14:29:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9794044#M31235</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-10-09T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Save project with UNC Paths</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9797311#M31236</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;I can use &lt;SPAN&gt;SUBST&lt;/SPAN&gt;, wouldn't it give issues for other users?&amp;nbsp; or if I link models? using &lt;SPAN&gt;SUBST&lt;/SPAN&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(EDIT: wrong account &lt;SPAN class="lia-emoticons-autosuggestions"&gt;&lt;SPAN class="lia-emoticons-search-term"&gt;:-S)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 09:13:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9797311#M31236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-12T09:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Save project with UNC Paths</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9797328#M31237</link>
      <description>&lt;P&gt;Yes, of course, that might require some tricky coordination...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for being such an egoist and individualist, I always forget about the teamwork stuff...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 09:25:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9797328#M31237</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-10-12T09:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Save project with UNC Paths</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9797402#M31238</link>
      <description>&lt;P&gt;hehe &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides SUBST, it's not possible to work with UNC paths in Revit?&lt;/P&gt;&lt;P&gt;If not, do you know if Autodesk is planning to support UNC paths from the Revit API?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 10:17:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9797402#M31238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-12T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Save project with UNC Paths</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9799445#M31239</link>
      <description>&lt;P&gt;Nope, SUBST is not an option... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-10-13_10-15-46.png" style="width: 448px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/830637i580229DEAF17EF24/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-10-13_10-15-46.png" alt="2020-10-13_10-15-46.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 08:18:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9799445#M31239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-13T08:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Save project with UNC Paths</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9799496#M31240</link>
      <description>&lt;P&gt;update...&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DB&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;FilePath works with UNC paths .... &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if you just aren't stupid enough to make a minor mistake in the path...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emoji.png" style="width: 194px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/830645i7B078C770EC1C589/image-dimensions/194x194?v=v2" width="194" height="194" role="button" title="emoji.png" alt="emoji.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Oct 2020 08:38:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-save-project-with-unc-paths/m-p/9799496#M31240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-13T08:38:57Z</dc:date>
    </item>
  </channel>
</rss>

