https://github.com/Autodesk-Forge/forge-revit.ifc.scheduler
I want to build same app, I have cloned it on local path.It is not working.Kindly help, or give another solution or give some idea.
I have tried Dynamo revit files stored in Bim 360.It takes too much time to open and close files in batch process.Make research and get Idea about forge .cloned project
https://github.com/Autodesk-Forge/forge-revit.ifc.scheduler
But not working.
Related
is there an easy way to transfer BIM 360 project between hubs? either manually or via Forge.
what I mean transfer project is everything, not just files.
If I understand correctly, you meant by clone projects from one hub to another hub.
There is not manual or direct API way yet.
For the general configurations (members, activate services, folder permissions etc), the Setup tool might be of help.
https://github.com/Autodesk-Forge/forge-bim360.project.setup.tool
As to transferring files, you may check if the 3rd party app of Forge could be help or not:
https://apps.autodesk.com/BIM360/en/Detail/Index?id=6253626418897534668
or you may have to build a script to transfer. Two samples might be useful:
https://github.com/Autodesk-Forge/bim360appstore-data.management-nodejs-transfer.storage
this sample transfers files between cloud storages (google drive, box etc) with BIM360, you could follow the similar format to read files from BIM360 hub, and take advantage of the code to upload to the other hub folder.
https://github.com/Autodesk-Forge/forge-upgradefiles-revit
this sample is to upgrade Revit model version, while the workflow is to get source model from one folder, and upload the output model to the target folder. you could borrow the workflow to copy model from source hub folder to target hub folder.
I'm able to successfully batch upload Revit models to BIM360 Documents (and version them, as well). However, my main goal is to be able to batch upload models to BIM360 Design as our day-to-day (pre-published) design models.
It appears that instead of using type items:autodesk.bim360:File that I should be using items:autodesk.bim360:C4RModel. However, I keep getting "The client_id is not whitelisted for schema items:autodesk.bim360:C4RModel." Is there a way to provision my app to access that?
As a user, I have admin rights to BIM360 Docs, so I don't think it's an individual rights issue.
Thanks!
It’s not possible for you to upload “cloud” models with a
Forge app. It can only be done with a Revit Addin today.
Unfortunately, Forge DM API doesn't support enabling C4R model currently. However, you can do that with Revit API with Revit desktop, see here for the details: https://thebuildingcoder.typepad.com/blog/2019/11/initiating-bim360-collaboration-and-linking.html#2
I have a small question regarding Upload local Revit files to BIM 360 using forge, instead of open files using Revit and sync with BIM 360. I would like to build Using web interface and upload the files the idea behind that to save time because we have a lot of files... so if every time I want to sync the Revit project it will take a long time. I am not sure if the tutorial does what I am looking for:
https://forge.autodesk.com/en/docs/data/v2/tutorials/publish-model/
note that I am basically using JS and node JS, and the RVT files on the network location. I already followed the tutorial on learning forge and I managed to access BIM360 same at the tutorial, so now to POST the OBJ to OSS in specific folders.
I hope you get my point just to save time as I mentioned earlier instead open Revit project and Sync. I think we can put POST all the files at ones to BIM 360 using my own application or website
It sounds the other tutorial should be what you are looking for:
https://forge.autodesk.com/en/docs/data/v2/tutorials/upload-file/
It explains how to upload a local file as a resource item to the project such as version item in the folder of BIM 360. Could you check if it helps?
It is also feasible to transfer the file from your cloud server. After getting the file stream, upload it to storage of BIM 360 (similar to step 4 in the above link shows ).
Please let us know if there is any further question.
We have integrated AutoDesk Forge Viewer. We are sending a request to the Forge API's for conversion (using Model derivative API). After closing the Viewer, If we need to show the same file again, Currently we are posting the dwg file again for conversion to view it.
Instead is there a way so save the svf file in my local system so that I need not call the Forge web service twice for the same file.
According to the pricing, for every simple conversion job, its going to cost 0.2 credits.
Please suggest how I can avoid this same conversion second and n number of times.
Thank you,
Shiva Kumar
Unless the DWG file has changed, you do not need to upload the DWG file again and/or POST a translation again. If you do this, you will effectively consume 0.2cc. Instead, just reference the URN you had received after upload/translation when starting the viewer. The 'bubble' or SVF persists on the backend depending of the storage policy you chose. For example, if you create a transient bucket, the file and bubble will persists for 24h, temporary for 1 month, and persistent forever.
I have found a reference to how to iterate through the bucket and see the files which are present in the bucket.
We can login in the below live demo using the forge credentials.
Live Demo
Source Code
Thanks.
Is there a local version of the SVF translation process that I could use locally on my computer without having to send my design to forge platform ?
- a standalone application under Autodesk license
- or a revit module ?
I work on project where people do not want to send their design online but still want to use the local version of the viewer.
thank you.
Autodesk Forge doesn't offer a locally hosted translation service. Unfortunately, that means that if your customer is not willing to even temporarily upload their file to the Autodesk server, then they cannot use the Forge Viewer to view their files.
If your customer is ok to temporarily upload a file, then they can upload the file, translate it, download the resulting SVF, and then delete the original file. This sample on GitHub demonstrates that process - https://github.com/cyrillef/extract.autodesk.io.
You can use 3ds MAX to export your files to SVF