<?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 File-based central model path in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/file-based-central-model-path/m-p/6946021#M59614</link>
    <description>&lt;P&gt;How can I get "file-based" worksharing central model path from a local model? I also read Typepad Post that says&amp;nbsp;Document.GetWorksharingCentralModelPath() is for when using Revit Server (so for my case it just returns a empty string), but couldn't figure out&amp;nbsp;what to do with "file-based" central models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work with Inventory mainly and not too good with Revit, but I appreciate it if someone could point me in the right direction.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2017 21:46:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-14T21:46:26Z</dc:date>
    <item>
      <title>File-based central model path</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/file-based-central-model-path/m-p/6946021#M59614</link>
      <description>&lt;P&gt;How can I get "file-based" worksharing central model path from a local model? I also read Typepad Post that says&amp;nbsp;Document.GetWorksharingCentralModelPath() is for when using Revit Server (so for my case it just returns a empty string), but couldn't figure out&amp;nbsp;what to do with "file-based" central models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work with Inventory mainly and not too good with Revit, but I appreciate it if someone could point me in the right direction.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 21:46:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/file-based-central-model-path/m-p/6946021#M59614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-14T21:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: File-based central model path</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/file-based-central-model-path/m-p/7645136#M59615</link>
      <description>&lt;P&gt;Try using the ModelPathUtils after getting the Worksharing model path. Something like this should work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;        private string GetCentralServerPath(Document doc)
        {
            var modelPath = doc.GetWorksharingCentralModelPath();
            var centralServerPath = ModelPathUtils.ConvertModelPathToUserVisiblePath(modelPath);

            return centralServerPath;
        }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 17:02:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/file-based-central-model-path/m-p/7645136#M59615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-22T17:02:22Z</dc:date>
    </item>
  </channel>
</rss>

