<?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: Access Cloud Models with Design Automation in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13310636#M1090</link>
    <description>&lt;P&gt;Duh! I've found it! Such a silly mistake!&lt;/P&gt;&lt;P&gt;My adsk3LeggedToken was OUTSIDE of the "arguments" scope when submitting the new WorkItem request!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; for your help!&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2025 16:17:13 GMT</pubDate>
    <dc:creator>peter_sylvester</dc:creator>
    <dc:date>2025-02-10T16:17:13Z</dc:date>
    <item>
      <title>Access Cloud Models with Design Automation</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13308590#M1086</link>
      <description>&lt;P&gt;I have a Revit DA application where I am trying to access an ACC model.&lt;/P&gt;&lt;P&gt;I've done as described in the docs.&lt;/P&gt;&lt;P&gt;My WorkItem in Postman looks like:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;{
    "activityId": "{{dasNickName}}.NVCMActivityTXT+testTXT",
    "arguments": {
        "NVCMParams" : {
	    "url": "data&amp;amp;colon;application/json, [{'Region': 'US', 'ProjectId': '062b8c8b-d33b-473f-9760-1e811629071a', 'ModelGuid': 'c20b5561-4f6b-4eb1-b9b7-84bfe163ff7a'}, {'Region': 'US', 'ProjectId': '062b8c8b-d33b-473f-9760-1e811629071a', 'ModelGuid': 'c20b5561-4f6b-4eb1-b9b7-84bfe163ff7a'}]"
    },
    "result": {
        "url": "urn:adsk.objects:os.object:{{ossBucketKey}}/{{ossOutputFileObjectKey}}",
            "verb": "put",
            "headers": {
                "Authorization": "Bearer {{dasApiToken}}"
            }
        }
    },
    "adsk3LeggedToken" : "{{adsk3LeggedToken}}"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{{adsk3LeggedToken}} is a valid token that when used in other calls works perfectly (e.g. Get Hubs, Projects... etc)&lt;BR /&gt;&lt;BR /&gt;Still, when trying to open a cloud model I am getting the following error.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Autodesk.Revit.Exceptions.RevitServerUnauthenticatedUserException: You must sign in to Autodesk 360 in order to complete this action.
[02/09/2025 14:20:40] at Autodesk.Revit.DB.ModelPathUtils.ConvertCloudGUIDsToCloudPath(String region, Guid projectGuid, Guid modelGuid)
[02/09/2025 14:20:40] at NebulaDA.Revit.DB.ExternalDBApplication.DesignAutomationReadyEvent(Object sender, DesignAutomationReadyEventArgs e)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Despite spending a lot of time on this, I still don't know what may be going wrong &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;Could anybody please help me out with the solution, thoughts, ideas?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2025 14:33:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13308590#M1086</guid>
      <dc:creator>peter_sylvester</dc:creator>
      <dc:date>2025-02-09T14:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Access Cloud Models with Design Automation</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13309164#M1087</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was testing that &lt;STRONG&gt;adsk3LeggedToken,&amp;nbsp;&lt;/STRONG&gt;some weeks ago and was able to make work with no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could check if the user changed and the login userid is available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Console.WriteLine($"Username: \t{application.Username}");
Console.WriteLine($"LoginUserId: \t{application.LoginUserId}");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose the&lt;STRONG&gt; 'You must sign in to Autodesk 360 in order to complete this action.' &lt;/STRONG&gt;only happens when the user is not login.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here some references:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/ricaun-io/forge-api-dotnet-oss.design.automation/issues/18" target="_blank"&gt;https://github.com/ricaun-io/forge-api-dotnet-oss.design.automation/issues/18&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/ricaun-io/RevitAddin.DA.Tester/releases/tag/1.5.1-alpha" target="_blank"&gt;https://github.com/ricaun-io/RevitAddin.DA.Tester/releases/tag/1.5.1-alpha&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 01:34:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13309164#M1087</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2025-02-10T01:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Access Cloud Models with Design Automation</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13310094#M1088</link>
      <description>&lt;P&gt;Seemingly during the execution of the activity there is no user logged on ! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[02/10/2025 12:16:53] ===&amp;gt; Username: acesuser&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[02/10/2025 12:16:54] ===&amp;gt; LoginUserId:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Workitem thou DOES Include the 3Legged access token&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Request Body
{
    "activityId": "NVCloudManagerDA.NVCMActivity2024+test2024",
    "arguments": {
        "NVCMParams" : {
	    "url": "data&amp;amp;colon;application/json, [{'Region': 'US', 'ProjectId': '062b8c8b-d33b-473f-9760-xxx', 'ModelGuid': 'c20b5561-4f6b-4eb1-b9b7-xxx'}]",
    },
    "result": {
        "url": "urn:adsk.objects:os.object:nv_cm_bucket/nv_cm_output",
            "verb": "put",
            "headers": {
                "Authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IlhrU............7CFT7KL2A"
            }
        }
    },
    "adsk3LeggedToken" : "eyJhbGciOiJSUzI1NiIsImtpZC......7kg"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Ideas about why is my user not logged in?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 12:30:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13310094#M1088</guid>
      <dc:creator>peter_sylvester</dc:creator>
      <dc:date>2025-02-10T12:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Access Cloud Models with Design Automation</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13310268#M1089</link>
      <description>&lt;P&gt;The only thing I'm doing different is that I'm using the &lt;STRONG&gt;Design Automation&lt;/STRONG&gt; c# sdk and the only way I found to enable the &lt;STRONG&gt;adsk3LeggedToken&lt;/STRONG&gt; was using a &lt;STRONG&gt;StringArgument&lt;/STRONG&gt; and that result in something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "activityId": "ricaun.RevitAddin_DA_Tester2022Activity+dev",
  "arguments": {
    "input": {
      "url": "/Masked:url",
      "verb": "get"
    },
    "output": {
      "url": "https://cdn.us.oss.api.autodesk.com/Masked:url",
      "verb": "put"
    },
    "adsk3LeggedToken": {
      "value": "Masked:token"
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose both ways should work, I didn't test the way you are doing like in the blog reference.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://aps.autodesk.com/blog/design-automation-api-supports-revit-cloud-model" target="_blank"&gt;https://aps.autodesk.com/blog/design-automation-api-supports-revit-cloud-model&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 13:59:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13310268#M1089</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2025-02-10T13:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Access Cloud Models with Design Automation</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13310636#M1090</link>
      <description>&lt;P&gt;Duh! I've found it! Such a silly mistake!&lt;/P&gt;&lt;P&gt;My adsk3LeggedToken was OUTSIDE of the "arguments" scope when submitting the new WorkItem request!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; for your help!&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 16:17:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/access-cloud-models-with-design-automation/m-p/13310636#M1090</guid>
      <dc:creator>peter_sylvester</dc:creator>
      <dc:date>2025-02-10T16:17:13Z</dc:date>
    </item>
  </channel>
</rss>

