I want to recieve notification when a file or folder cahnages its workflow status in BIM360 docs, is this possible? There isn't a webhook on the Forge help pages.
Kindly check the supported events for datamanagement https://aps.autodesk.com/en/docs/webhooks/v1/reference/events/data_management_events/
Related
Is there an exposed Autodesk's Forge API endpoint that can give warnings associated with the Revit model hosted in BIM 360?
You can use Webhooks to generate warnings for events related to BIM 360 files or folders.
Also, please check forge-checkmodels-createissues-revit, as it covers a useful workflow integrating BIM 360, Webhooks, and Desing Automation.
Please let me know how to view the Revit file in my local environment in the Forge Viewer without doing any file upload to the cloud.
Also the Link "Prepared a File for the Viewer" it is not working.
This is unfortunately not possible - Forge is a Cloud service only API platform. You need to upload your files to the platform to extract the data, and then visualise it. Here is a quick and complete tutorial.
We are using Autodesk BIM360 Docs to manage our drawings, and as well review workflows are used in our project. Now we get a request to use Forge API to copy files that are approved to our local storage. Everything seems good except that we cannot find a forge API with which we can get the approve status of each document.
Any help would be appreciated.
I'm sorry to say that there is no API available to fetch approve status currently. Please keep your eyes on Forge blog announcements and BIM360 roadmap for updating. Once it gets supported we will post here. Thanks!
Currently I'm working on a project where i need to use forge viewer and vault APIs
The system i'm developing should get files from vault and display those in the forge viewer.
I couldn't find any guide or references on how to connect both API's to achieve my goal.
Vault and Forge are two different APIs. And currently, as I know, we have not integrate Vault file system with Forge services, which means the Vault files cannot be accessed in the role of users (while some other cloud products support such as BIM 360, Fusion 360, because they are built on Forge services as well)
So, you would need to use Vault API to get the files from Vault, and use Forge web service to upload and translate the file, in order to view the model in the Forge Viewer.
I am not sure if you have played with Vault API or Forge API. These are just some materials which might be useful:
Using the Vault API and View and Data API Together to Download and View
Assemblies
https://www.autodesk.com/autodesk-university/class/Using-Vault-API-and-View- and-Data-API-Together-Download-and-View-Assemblies-2015
This was delivered by our colleague in 2015 Autodesk University. At that time,
the technology of viewing model in the browser is called View and Data. The
basic workflow is similar to current Forge Viewer.
Vault APIs tutorials:
https://www.autodesk.com/developer-network/platform-technologies/vault
which contains the materials how to get started with Vault. As to the specific topics on downloading files, you can refer to the handout in the above AU class
Forge Viewer tutorials
https://forge.autodesk.com/en/docs/viewer/v6/tutorials/
And I also recommend the other step by step tutorial:
http://learnforge.autodesk.io/
Should you have any questions in the process, please feel free to pose the questions with autodesk-forge tag.
I just tried some of the Forge boilerplates on Github.
Some examples asked me to login to BIM 360 to fetch some model data. I was wondering if it would be possible to load the (Revit) models from Dropbox, Google Drive or OneDrive, or even upload them from the local storage?
PS: Forge is awesome, kudos to Forge Team!
We have multiple examples that illustrate how to integrate Forge with cloud storage providers under the same github org:model.derivative-nodejs-box.viewer, data.management-nodejs-integration.box, model.derivative-nodejs-google.drive.viewer
The point of using 3-legged API is precisely to let your app access customer data that is already hosted on Autodesk Cloud. If you want use a storage mechanism that is specific to your app, then you need to use 2-legged Object Storage Service, see Create an App-Managed Bucket and Upload a File
In order to fire a translation on a CAD file, you have to upload your data to Autodesk Cloud first, you can then load it from there in the viewer. However you could also download the svf package using the API and then serve those as static resources from your own server. Take a look at this sample for more info: extract.autodesk.io.
Hope that helps