I'm new to Autodesk Forge API. Planning to use it for converting Revit files. But when creating an app inside the Forge console, the system doesn't allow me to select relevant API's to "turn them on" for the app.
http://prntscr.com/hgb9ib
While https://developer.autodesk.com/en/docs/oauth/v2/tutorials/create-app/ guide lists all possible API's the service provides.
What could be the issue?
I believe you did not start your trial, please apply for FREE 90-DAY TRIAL, and you will see all the available APIs in the list.
Related
I am developing My own project to view model from file in Autodesk Docs, but I am really confuse, How should I start from? for now I use 2 legged Authentication and got and access denied.Can someone help me to summarize overview steps to finally my custom viewer can view it?
Overall steps to view forge model in forge viewer.
I'd suggest to start with one of our tutorials, for example:
Simple Viewer - this tutorial guides you through the development of an application that manages the files of its users (designs are stored in a custom OSS bucket owned by the application)
Hubs Browser - this tutorial might be better for your use case as it builds an application that can access designs of its users in other APS applications such as Autodesk Docs, Autodesk Construction Cloud, or BIM360
Pardon me if this is a dumb question! However, I am curious whether it is possible to use 'Streamlit' (https://streamlit.io/) app as the front end and Forge APIs as the back end. If this is possible; Could you, please show some examples of how to integrate Streamlit and Forge?
Streamlit is in Python and there is Unofficial Autodesk Forge SDK for Python, so you can easily get your data from Forge APIs and show them using Streamlit components.
I created a simple app which lists buckets, then objects in the selected bucket and shows details of the selected object.
Streamlit with Forge sample
I am a new user of Autodesk Forge and I am stuck in the very first step. I cannot figure out what to do after I created an app on Forge's website. Can you please help me with this? I would appreciate it if there are any resources that I can use as I searched the internet and could not find anything.
I would like to do with Forge is to import my BIM from Revit to Forge, but I do not know where to start.
If you already created an app, you probably were on this website Autodesk Forge.
The third button in the navbar "Getting started" will redirect you to Learn Forge where you can find a lot of resources to get started.
Autodesk recently released their new Forge tutorials that are meant to guide developers through the whole process of creating applications on the Forge platform.
You can find the new Forge tutorial here: https://forge-tutorials.autodesk.io/
If you need more information on all the Forge APIs, you can have a look at the API documentation on the main Autodesk Forge website: https://forge.autodesk.com/developer/documentation
Is it possible to use Forge with some BIM 360 API to gain access to the changes in a model from one version to the next?
Unfortunately, there is no API available for doing BIM360 model comparison on Forge currently. However, here are two workarounds you might be interested in:
Compare changes via Forge Viewer: https://forge.autodesk.com/blog/comparing-versions-viewer
Dump changes via Revit Addin, and then integrate its results with Forge.
What you can do though is to leverage Webhook to get notified when a new version is “upserted” to the Data Management API. See docs here:
Official Doc: https://forge.autodesk.com/en/docs/webhooks/v1/tutorials/create-a-hook-data-management/
Sample Code: https://forge.autodesk.com/blog/webhooks-and-bim-360-c
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.