Hello,
I was wondering if there’s a way to save a Revit file as cloud in BIM 360 platform with Dynamo and also maybe synchronise and publish, it’s a real waste of time the process in this platform.
Hello,
I was wondering if there’s a way to save a Revit file as cloud in BIM 360 platform with Dynamo and also maybe synchronise and publish, it’s a real waste of time the process in this platform.
First you have to save it as a cloud model:
And then you can enable worksharing:
someone of technical support of BIM360 of Autodesk said API code will be added to export revit project as cloud model, but I can see that already exists and that person do not know about
That was added in the 2022 release about 6 weeks or so ago. Since most are in prior versions the two API methods I pointed out above should work without issue.
would be great to have it in a new hotfix of Revit 2020, 2021 as well, or create a button in bim360 to create cloud models of the existing ones in other directories, otherwise people have to find tricks programming to avoid limitations
funny that in the website of Revit API, that cloudsharing method is available in Revit 2020 and 2021, but not 2022 and previous.
2022 deprecated the method to allow saving of workshared models directly.
2020 and 2021 utilized the method to save as a non-workshared cloud model, and then enable worksharing after the fact.
is possible to activate in Revit a detached central file as worksharing in BIM360 cloud? I mean not using Dynamo now and not saving the detached central file as project cloud model in BIM360. Sounds weird
The question is something like: how do you enable the worksharing from Revit a detached central file? I want to understand what I am trying to do with Dynamo later.
I guess is just this button
or save project as cloud model
This, sadly, depends on which version of Revit you are using.
Maintaining the worksets requires saving locally, then using collaborate in the cloud (which may not have an API in the version you are using). A good Record of element GUIDs on a given workset for all user created worksets can automate putting the genie back in the bottle if you have to detach without worksets to save as a cloud model first.
Did anyone made the node that makes it possible to save a revit model as a cloud model?
At the moment my script converts .ifc files to .rvt files within BIM360, now i want the .rvt file to be saved as a cloudmodel to my published folder in BIM360 so that when i publish my model the linked files are also published.
Bumping this old thread to ask:
The saveascloudmodel() method when used in a python node in dynamo (Revit 2022) gives the error ‘You must sign in to Autodesk 360’.
Is there an extra authentication step needed even if the user is already signed into ACC, Revit and Autodesk?
I only want my script to save, not as a diffrent file somewhere else, just what this button does to a project in an ACC cloud:
doc.Save() did only save it locally, somehow lost the IFC Export Setups in the process and then produced errors because of the now local environment.
Im frustrated enough to look how to make python execute the keybind and just wait a few seconds for the rest of the script
Best to start a new topic as this is not a simple operation depending on which collaboration method you’re using. Be sure to provide specifics as to what method of collaboration you’re using, how you are opening the file, and what sorts of actions you’re taking with the file. Note that for cloud stored file automation you usually have to do some degree of Autodesk Platform Services (formerly called Forge) to get automations to work as the underlaying tech is VERY complex to ensure data is not lost (which appears to be what you’ve experienced here).
Note that how you open the file has as much impact as how you save it, as if you’re not providing a true cloud path (and in some cases an IOpenFromCloudCallback override) you aren’t actually opening the cloud model but whatever you’ve got at the path provided. If your ModelPath.CloudPath property doesn’t return ‘true’ you won’t be able to update the cloud model as you haven’t told Revit to open it.
To make complicated things easy, is there a way to hold the script, display a message box with “click save on the top left now, then press ok” and then let the rest of the script run?
That would be the easiest way.
Else other users change things, dont save, export and lose the progress
No, as Dynamo has to run in a Revit transaction, and you can’t ‘break’ that transaction for a user to start a new one (hitting save). By the sounds of it you want two graphs, or a different automation method. Best to start a new thread though as we’re off track on this one.
Couldn’t you do a transaction.end, then prompt then transaction start, prompt user to save and then continue with whatever comes next?
It’s not really the same but I made a large graph that I felt was unstable if the Revit model was too large, so I used data shapes to prompt a user if they wanted to synchronize before continuing, that always worked for me
Edit, oops just saw this is off topic, I’ll reply to the new thread
No as the transactions in Dynamo are all bundled under one transaction group. No UI action can be taken until Dynamo finishes all the actions it takes.
Well am i glad my graph never crashed after the synchronize prompt hehe