<?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: Cannot open BIM 360 based project with OpenDocumentFile Method in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9986252#M29457</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;for the links, but I have seen those, and don't contain information that help me get any further.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3633270"&gt;@TripleM-Dev.net&lt;/a&gt;&amp;nbsp;, I have made some progress.&amp;nbsp; I was able to open a BIM 360 project using the ModelPath that was converted from the GUID's (and it does not need the &lt;A title="OpenDocumentFile Method (ModelPath, OpenOptions, IOpenFromCloudCallback)" href="https://www.revitapidocs.com/2020/dcdca59a-635c-a6ca-8378-b1e6bb372101.htm" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;IOpenFromCloudCallback)&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; That is something that I can work with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT:&amp;nbsp; I still need to find the GUID's first, which I know how to do, but Why can't I open a model using the Modelpath that is converted from the uservisiblepath?&amp;nbsp; &amp;nbsp;Here, for fun, I tried this (By the way, I have switched to C#, as there is much more information on how to do it):&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Guid modelguid = Guid.Parse("bbd7d324-889b-4bb2-aa14-c9a626a20eff");
Guid projectguid = Guid.Parse("2706cbb1-26c5-4406-8697-77aef497a08f");
ModelPath file1 = ModelPathUtils.ConvertCloudGUIDsToCloudPath(projectguid, modelguid);
string fileloc = ModelPathUtils.ConvertModelPathToUserVisiblePath(file1);
ModelPath file = ModelPathUtils.ConvertUserVisiblePathToModelPath(fileloc);

OpenOptions openoptions = new OpenOptions();
openoptions.DetachFromCentralOption = DetachFromCentralOption.DoNotDetach;
openoptions.AllowOpeningLocalByWrongUser = false;
Document doc = app.OpenDocumentFile(file, openoptions);&lt;/LI-CODE&gt;&lt;P&gt;And guess what?&amp;nbsp; I get the same exception.&amp;nbsp; It does not work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me summarize what I did, to make it better graspable:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I get the modelpath (file1) from the GUID's.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;When I open the model with this modelpath, it works fine.&lt;/LI&gt;&lt;LI&gt;Then I convert the modelpath into a uservisiblepath,&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;then convert it back into a modelpath (file)&lt;/LI&gt;&lt;LI&gt;When I open the model with this modelpath, it DOES NOT work.&amp;nbsp; Revit Throws an exception.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Isn't that weird?&amp;nbsp; &amp;nbsp;By now I am thinking it must be a bug....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas left?&amp;nbsp; Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jan 2021 02:32:01 GMT</pubDate>
    <dc:creator>LucasJonnedeJong</dc:creator>
    <dc:date>2021-01-08T02:32:01Z</dc:date>
    <item>
      <title>Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9954177#M29447</link>
      <description>&lt;P&gt;Hello Forum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a Dynamo Node containing some python code using the &lt;EM&gt;OpenDocumentFile&lt;/EM&gt; Method to open Revit files.&amp;nbsp; This method does not activate it, so it just opens it in the background.&amp;nbsp; This is what I want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code works just fine when opening local files, but when I try to open a BIM 360 model, something RevitAPIDocs.com claims should be possible, Revit ruins it by throwing an exception:&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;“A managed exception was thrown by Revit or by one of its external applications."&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp; So it seems to me that my code is fine, but that Revit does not allow me to open a BIM 360 file this way.&amp;nbsp; Is there a way to get Revit to listen and do as I say?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import clr
import sys

clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager

clr.AddReference('RevitAPI')
import Autodesk
from Autodesk.Revit.DB import *

clr.AddReference('RevitAPIUI')
from Autodesk.Revit.UI import *

#curdoc = __revit__.ActiveUIDocument.Document
revit = DocumentManager.Instance.CurrentUIApplication.Application
filepath = IN[0]
if filepath[-4:] != ".rvt": filepath += ".rvt"

docfile = ModelPathUtils.ConvertUserVisiblePathToModelPath(filepath)

openoptions = OpenOptions()
openoptions.Audit = False
openoptions.DetachFromCentralOption = DetachFromCentralOption.DoNotDetach 
openoptions.AllowOpeningLocalByWrongUser = False

try:
    opened = revit.OpenDocumentFile(docfile, openoptions)
    openmessage = "Successful"
except:
    opened = sys.exc_info()[1]
    openmessage = "Unsuccessful"
    
if openmessage == "Successful":
    close = TaskDialog.Show("MyCompany", openmessage + ":  " + str(opened) + "Would you like to close the file now?", TaskDialogCommonButtons().Yes | TaskDialogCommonButtons().No, TaskDialogResult())
    if close == TaskDialogResult.Yes:
        closed = opened.Close(False)
        if closed:
            TaskDialog.Show("MyCompany", "Closed Successfully")
        else:
            TaskDialog.Show("MyCompany", "Could not close document;  Strongly Recommended to restart Revit Application")
    else:
        TaskDialog.Show("MyCompany", "File still open in the BackGround")
else:
    TaskDialog.Show("MyCompany", openmessage + ":  Error:  " + str(opened))

OUT = 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The filepath looks like this:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BIM 360://My Project/My Project File_R20.rvt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions are welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 16:31:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9954177#M29447</guid>
      <dc:creator>LucasJonnedeJong</dc:creator>
      <dc:date>2020-12-21T16:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9981856#M29448</link>
      <description>&lt;P&gt;So, 76 views, noone has a clue?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 13:17:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9981856#M29448</guid>
      <dc:creator>LucasJonnedeJong</dc:creator>
      <dc:date>2021-01-06T13:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9983253#M29449</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you need another overload option:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="OpenDocumentFile Method (ModelPath, OpenOptions, IOpenFromCloudCallback)" href="https://www.revitapidocs.com/2020/dcdca59a-635c-a6ca-8378-b1e6bb372101.htm" target="_blank" rel="noopener"&gt;OpenDocumentFile Method (ModelPath, OpenOptions, IOpenFromCloudCallback)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only available from Revit 2020 and up.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 23:03:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9983253#M29449</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-01-06T23:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9983260#M29450</link>
      <description>&lt;P&gt;And, see post:&lt;/P&gt;&lt;P&gt;&lt;A title="https://thebuildingcoder.typepad.com/blog/2018/04/whats-new-in-the-revit-2019-api.html#4.1.5" href="https://thebuildingcoder.typepad.com/blog/2018/04/whats-new-in-the-revit-2019-api.html#4.1.5" target="_blank" rel="noopener"&gt;https://thebuildingcoder.typepad.com/blog/2018/04/whats-new-in-the-revit-2019-api.html#4.1.5&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;now offer the ability to open a C4R model from its location on the cloud. Obtain a relevant ModelPath representing the document from:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ModelPathUtils.ConvertCloudGUIDsToCloudPath(Guid, Guid)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need the BIM360 GUID to the project/file, see:&amp;nbsp;&lt;A title="ConvertCloudGUIDsToCloudPath" href="https://www.revitapidocs.com/2020/cc284f13-a7a9-d37e-e46d-4769bf039a96.htm" target="_blank" rel="noopener"&gt;ConvertCloudGUIDsToCloudPath&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 23:07:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9983260#M29450</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-01-06T23:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9983479#M29451</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3633270"&gt;@TripleM-Dev.net&lt;/a&gt;&amp;nbsp;but&amp;nbsp;&lt;A title="ConvertCloudGUIDsToCloudPath" href="https://www.revitapidocs.com/2020/cc284f13-a7a9-d37e-e46d-4769bf039a96.htm" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;ConvertCloudGUIDsToCloudPath&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;is not the answer.&amp;nbsp; I tried it, and it gave me the CloudPath, which basically only confirmed to me that the CloudPath I had was the right one.&amp;nbsp; Thanks though.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 01:50:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9983479#M29451</guid>
      <dc:creator>LucasJonnedeJong</dc:creator>
      <dc:date>2021-01-07T01:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9983863#M29452</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9632428"&gt;@LucasJonnedeJong&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3633270"&gt;@TripleM-Dev.net&lt;/a&gt;&amp;nbsp;but&amp;nbsp;&lt;A title="ConvertCloudGUIDsToCloudPath" href="https://www.revitapidocs.com/2020/cc284f13-a7a9-d37e-e46d-4769bf039a96.htm" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;ConvertCloudGUIDsToCloudPath&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;is not the answer.&amp;nbsp; &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;I tried it,&lt;/STRONG&gt;&lt;/FONT&gt; and it gave me the CloudPath,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So you've tried it, this means you already know the project GUID and model GUID?, use those!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did some tests:&lt;/P&gt;&lt;P&gt;A. The Modelpath created from "BIM 360://..../....rvt -&amp;gt; this doesn't create a valid/usable cloudpath.&lt;/P&gt;&lt;P&gt;B. The Modelpath created from the project and model GUID does (see below)&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;ModelPathUtils.ConvertCloudGUIDsToCloudPath(projectguid, modelguid)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;C. The overloaded method with 'IOpenFromCloudCallback' doesn't seem to be required (would advise it so callbacks can be handled!)&lt;/P&gt;&lt;P&gt;D. Tested on a Revit 2019 WORKSHARED BIM 360 cloud model. for the methods "OpenAndActivateDocument" and "OpenDocumentFile"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See post below for use of the 'IOpenFromCloudCallback':&lt;/P&gt;&lt;P&gt;&lt;A title="https://forums.autodesk.com/t5/revit-api-forum/how-to-implement-iopenfromcloudcallback-interface/td-p/8794483" href="https://forums.autodesk.com/t5/revit-api-forum/how-to-implement-iopenfromcloudcallback-interface/td-p/8794483" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/how-to-implement-iopenfromcloudcallback-interface/td-p/8794483&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 07:43:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9983863#M29452</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-01-07T07:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9984698#M29453</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3633270"&gt;@TripleM-Dev.net&lt;/a&gt;,&amp;nbsp;thanks for sticking with me.&amp;nbsp; But I am afraid your suggestions are not the solution.&amp;nbsp; Like I said before:&amp;nbsp; I have used ConvertCloudGUIDsToCloudPath before, but all that did, was give me the ModelPath that I was already using.&amp;nbsp; And there is more evidence that I am using the correct ModelPath:&amp;nbsp; When I use ModelPath.CloudPath, it returns "true" and when I supply a wrong filelocation, Revit throws a different exception.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anything else you can think of that I can try?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mr.&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;, I have seen a lot of solutions from you in this forum, anythin you can think of that I can try?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 14:27:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9984698#M29453</guid>
      <dc:creator>LucasJonnedeJong</dc:creator>
      <dc:date>2021-01-07T14:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9984722#M29454</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's true, I also tried setting "BIM 360:// etc///" and the ModelPath returns true for&amp;nbsp;&lt;SPAN&gt;ModelPath.CloudPath &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the ModelGuid and ProjectGuid are empty.. (So the return of&amp;nbsp;CloudPath is misleading).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is the Model on BIM 360 a Workshared model or a non-workshared one and correct revit version. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;maybe that's the issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried the methods in my previous post and I can confirm it opens the workshared model.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Only difference maybe is Revit 2019 vs Revit 2020 API difference...unfortunately I don't have a 2020 project in BIM360 for testing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Michel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 14:35:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9984722#M29454</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-01-07T14:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9984789#M29455</link>
      <description>&lt;P&gt;I seem to remember some internal discussion about that being work in progress.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a public discussion of the same topic from last year:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/51370445/how-to-get-project-guid-and-model-guid-from-pathname" target="_blank"&gt;https://stackoverflow.com/questions/51370445/how-to-get-project-guid-and-model-guid-from-pathname&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Things are moving so fast with cloud access, it may well have changed already by now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 15:01:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9984789#M29455</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2021-01-07T15:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9984806#M29456</link>
      <description>&lt;P&gt;Here is another similar discussion on StackOverflow:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/59570209/is-it-possible-to-load-new-cloud-bim-360-links-in-a-revit-model-either-through/59587641#59587641" target="_blank"&gt;https://stackoverflow.com/questions/59570209/is-it-possible-to-load-new-cloud-bim-360-links-in-a-revit-model-either-through&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 15:05:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9984806#M29456</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2021-01-07T15:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9986252#M29457</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;for the links, but I have seen those, and don't contain information that help me get any further.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3633270"&gt;@TripleM-Dev.net&lt;/a&gt;&amp;nbsp;, I have made some progress.&amp;nbsp; I was able to open a BIM 360 project using the ModelPath that was converted from the GUID's (and it does not need the &lt;A title="OpenDocumentFile Method (ModelPath, OpenOptions, IOpenFromCloudCallback)" href="https://www.revitapidocs.com/2020/dcdca59a-635c-a6ca-8378-b1e6bb372101.htm" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;IOpenFromCloudCallback)&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; That is something that I can work with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT:&amp;nbsp; I still need to find the GUID's first, which I know how to do, but Why can't I open a model using the Modelpath that is converted from the uservisiblepath?&amp;nbsp; &amp;nbsp;Here, for fun, I tried this (By the way, I have switched to C#, as there is much more information on how to do it):&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Guid modelguid = Guid.Parse("bbd7d324-889b-4bb2-aa14-c9a626a20eff");
Guid projectguid = Guid.Parse("2706cbb1-26c5-4406-8697-77aef497a08f");
ModelPath file1 = ModelPathUtils.ConvertCloudGUIDsToCloudPath(projectguid, modelguid);
string fileloc = ModelPathUtils.ConvertModelPathToUserVisiblePath(file1);
ModelPath file = ModelPathUtils.ConvertUserVisiblePathToModelPath(fileloc);

OpenOptions openoptions = new OpenOptions();
openoptions.DetachFromCentralOption = DetachFromCentralOption.DoNotDetach;
openoptions.AllowOpeningLocalByWrongUser = false;
Document doc = app.OpenDocumentFile(file, openoptions);&lt;/LI-CODE&gt;&lt;P&gt;And guess what?&amp;nbsp; I get the same exception.&amp;nbsp; It does not work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me summarize what I did, to make it better graspable:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I get the modelpath (file1) from the GUID's.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;When I open the model with this modelpath, it works fine.&lt;/LI&gt;&lt;LI&gt;Then I convert the modelpath into a uservisiblepath,&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;then convert it back into a modelpath (file)&lt;/LI&gt;&lt;LI&gt;When I open the model with this modelpath, it DOES NOT work.&amp;nbsp; Revit Throws an exception.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Isn't that weird?&amp;nbsp; &amp;nbsp;By now I am thinking it must be a bug....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas left?&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 02:32:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9986252#M29457</guid>
      <dc:creator>LucasJonnedeJong</dc:creator>
      <dc:date>2021-01-08T02:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9986369#M29458</link>
      <description>&lt;P&gt;I think you are right: it does not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not think it is a bug, but WIP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the notes from the recent Revit API roundtable meeting:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2020/11/revit-api-roundtable-notes.html" target="_blank" rel="noopener"&gt;https://thebuildingcoder.typepad.com/blog/2020/11/revit-api-roundtable-notes.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A Use design automation and the standard Revit API... Re v4: there is no need for a new version for this; &lt;U&gt;we are&lt;/U&gt; already &lt;U&gt;considering&lt;/U&gt; support for Dynamo scripting and &lt;U&gt;access to cloud models and BIM360 docs&lt;/U&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 04:49:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9986369#M29458</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2021-01-08T04:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9986627#M29459</link>
      <description>&lt;P&gt;Well I agree&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9632428"&gt;@LucasJonnedeJong&lt;/a&gt;&amp;nbsp; or actually I hope it's a Bug and not by design that you (always) need to have the GUIDs before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Often links break because a new model (outside BIM360 source files) causes the GUID to change, while it's location and name on BIM360 stayed thesame. Having the modelpath to be able to be build from the BIM360 path and not GUID's would be a huge help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Revit they could have a function "Reload links based on name/location" would be nice&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Michel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 07:56:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9986627#M29459</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-01-08T07:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9987621#M29460</link>
      <description>&lt;P&gt;Hey guys&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3633270"&gt;@TripleM-Dev.net&lt;/a&gt;&amp;nbsp;, thanks for your help.&amp;nbsp; I am a little bit confused:&amp;nbsp; if the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;ModelPathUtils.ConvertUserVisiblePathToModelPath(fileloc);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does not work for opening cloud models, then what is it for?&amp;nbsp; I am hoping that it will be made to work soon, so I can make the necessary user input more straight forward.&amp;nbsp; But at least I can stop looking for a solution for now.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;last question:&amp;nbsp; Where do I sign up to receive a notification when new Revit API is available?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 15:12:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9987621#M29460</guid>
      <dc:creator>LucasJonnedeJong</dc:creator>
      <dc:date>2021-01-08T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9987763#M29461</link>
      <description>&lt;P&gt;For opening non-cloud models with worksharing options....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I noticed this in the description of:&amp;nbsp;&lt;A title="OpenAndActivateDocument " href="https://www.revitapidocs.com/2020/b6357720-6e6e-9542-9dfd-7c4da89dd0a2.htm" target="_blank" rel="noopener"&gt;OpenAndActivateDocument &lt;/A&gt;&amp;nbsp;(R2019 and up):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;EM&gt;&lt;A href="https://www.revitapidocs.com/2020/3b3d671d-47ec-2ed8-1818-a7c19d01884b.htm" target="_blank" rel="noopener"&gt;OpenAndActivateDocument(String)&lt;/A&gt;&lt;/EM&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="summary"&gt;&lt;EM&gt;Opens and activates a Revit document, include both local document or &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;cloud document.&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit; background-color: transparent;"&gt;(Inherited from&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; background-color: transparent;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.revitapidocs.com/2020/51ca80e2-3e5f-7dd2-9d95-f210950c72ae.htm" target="_blank" rel="noopener"&gt;UIApplication&amp;nbsp;&lt;/A&gt;&lt;SPAN style="font-family: inherit; background-color: transparent;"&gt;.)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This isn't the "OpenDocumentFile" but maybe "OpenAndActivateDocument" with the direct path to the BIM 360 works? Haven't tried it....&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 16:00:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9987763#M29461</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-01-08T16:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot open BIM 360 based project with OpenDocumentFile Method</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9987772#M29462</link>
      <description>&lt;P&gt;I have tried it, same exception thrown....&amp;nbsp; &amp;nbsp;But yeah, you're right, the method does work for locally saved modelfiles with the modelpath converted from a string...&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 16:04:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cannot-open-bim-360-based-project-with-opendocumentfile-method/m-p/9987772#M29462</guid>
      <dc:creator>LucasJonnedeJong</dc:creator>
      <dc:date>2021-01-08T16:04:11Z</dc:date>
    </item>
  </channel>
</rss>

