<?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: Open C4R Document Programmatically in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7787195#M57720</link>
    <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/browsing-model-files-in-the-cloud-a360-c4r/m-p/7787188/highlight/true#M28738" target="_blank"&gt;Ive also posted about a workaround to opening a C4R model in this thread&lt;/A&gt;, but essentially there is a way to find the local C4R files and open them, sync to central etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It involves searching through the local journal files, matching GUIDs to Model names, &lt;A href="https://knowledge.autodesk.com/support/revit-products/troubleshooting/caas/sfdcarticles/sfdcarticles/Collaboration-for-Revit-Finding-local-copies-of-files.html" target="_blank"&gt;then finding that folder in the local Collaboration cache&lt;/A&gt; and opening the Revit project contained in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its a bit of a workaround until we get a proper API to achieve this, but its working fine so far.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Feb 2018 20:21:41 GMT</pubDate>
    <dc:creator>callumf</dc:creator>
    <dc:date>2018-02-18T20:21:41Z</dc:date>
    <item>
      <title>Open C4R Document Programmatically</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7155022#M57715</link>
      <description>&lt;P&gt;Using Revit 2018.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a C4R project that I open and have pulled out the user-viewable path for:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;BIM 360://Admin Project/C4ROpenAndActivateTest.rvt&lt;/PRE&gt;&lt;P&gt;I read in the docs to use ModelPath for loading server-based files,&amp;nbsp;so I did this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var modelPath = ModelPathUtils.ConvertUserVisiblePathToModelPath("BIM 360://Admin Project/C4ROpenAndActivateTest.rvt");
var document = _uiApp.OpenAndActivateDocument(modelPath, new OpenOptions(), false);&lt;/PRE&gt;&lt;P&gt;Which looks good at first glance, because &lt;FONT face="courier new,courier"&gt;modelPath.&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;CentralServerPath&lt;/FONT&gt;&amp;nbsp;is set to&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;A href="https://model15.skyscraper.autodesk.com:443/ModelService2015/ModelService.svc/basichttpbuffer" target="_blank"&gt;https://model15.skyscraper.autodesk.com:443/ModelService2015/ModelService.svc/basichttpbuffer&lt;/A&gt;&lt;/FONT&gt;, but&amp;nbsp;I get the exception:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;The document to be opened does not exist.&lt;/PRE&gt;&lt;P&gt;and in looking at &lt;FONT face="courier new,courier"&gt;modelPath&lt;/FONT&gt;, both &lt;FONT face="courier new,courier"&gt;GetModelGUID()&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;GetProjectGUID()&lt;/FONT&gt; return &lt;FONT face="courier new,courier"&gt;Guid.Empty&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing a step somewhere to get the OpenAndActivateDocument() call to open a C4R RVT?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 15:08:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7155022#M57715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-15T15:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Open C4R Document Programmatically</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7156964#M57716</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Currently there is not support for opening a C4R model programmatically.&amp;nbsp; The best way to access the data (today) is to leverage the Forge API to get at the models in a project.&amp;nbsp; However, it is important to note that the model that is accessible via the Forge API is “detached” from the “source of truth” which is C4R.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sorry about that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are two previous related threads on similar issues:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://forums.autodesk.com/t5/revit-api/browsing-model-files-in-the-cloud-a360-c4r/m-p/6537130" target="_blank"&gt;http://forums.autodesk.com/t5/revit-api/browsing-model-files-in-the-cloud-a360-c4r/m-p/6537130&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/externalfileutils-not-working-with-c4r/m-p/6939236" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/externalfileutils-not-working-with-c4r/m-p/6939236&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 10:01:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7156964#M57716</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-06-16T10:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Open C4R Document Programmatically</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7600405#M57717</link>
      <description>&lt;P&gt;Any news on this topic?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We really need to be able to access the C4R and BIM 360 Teams through the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone posted this feature in the Ideas Forum?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 10:26:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7600405#M57717</guid>
      <dc:creator>fatm</dc:creator>
      <dc:date>2017-12-06T10:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Open C4R Document Programmatically</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7601004#M57718</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4236094"&gt;@fatm&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend reading the thread mentioned above:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/revit-api/browsing-model-files-in-the-cloud-a360-c4r/m-p/6537130" target="_blank"&gt;http://forums.autodesk.com/t5/revit-api/browsing-model-files-in-the-cloud-a360-c4r/m-p/6537130&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It includes more info on this topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don'y know yet whether the Revit Idea entry has been submitted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I brought this up with the development team once again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned in the other thread, some access is provided via Forge, and it is more complicated than you might expect...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 13:40:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7601004#M57718</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-12-06T13:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Open C4R Document Programmatically</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7603809#M57719</link>
      <description>&lt;P&gt;Update from the development team regarding this question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"We recommend that developers regularly review new APIs available in Revit Preview."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yay!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 08:20:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7603809#M57719</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-12-07T08:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Open C4R Document Programmatically</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7787195#M57720</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/browsing-model-files-in-the-cloud-a360-c4r/m-p/7787188/highlight/true#M28738" target="_blank"&gt;Ive also posted about a workaround to opening a C4R model in this thread&lt;/A&gt;, but essentially there is a way to find the local C4R files and open them, sync to central etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It involves searching through the local journal files, matching GUIDs to Model names, &lt;A href="https://knowledge.autodesk.com/support/revit-products/troubleshooting/caas/sfdcarticles/sfdcarticles/Collaboration-for-Revit-Finding-local-copies-of-files.html" target="_blank"&gt;then finding that folder in the local Collaboration cache&lt;/A&gt; and opening the Revit project contained in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its a bit of a workaround until we get a proper API to achieve this, but its working fine so far.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2018 20:21:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/open-c4r-document-programmatically/m-p/7787195#M57720</guid>
      <dc:creator>callumf</dc:creator>
      <dc:date>2018-02-18T20:21:41Z</dc:date>
    </item>
  </channel>
</rss>

