Does anybody have already built an SDK for .NET, using the filters and find items calls for the Forge Data Management API?
Did you check the NuGet we have for Forge? https://www.nuget.org/packages/Autodesk.Forge/
I'm not sure if it contains the calls you are requesting but you could use this to build it yourself.
Related
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
We are developing a web application with C Sharp as backend, We trying to integrate BIM 360 data connector in our application, For which, can anyone share a sample BIM 360 data connector source code in C#?
Check this PDF, has code for .NET Core and .NET Framework:
Connect to Fusion Team & BIM 360 data
The material Leandro shared has been the learning tutorial at:
https://learnforge.autodesk.io/#/tutorials/viewhubmodels
which introduces how to build application of Forge to connect BIM 360 model documents step-by-step.
While my understanding is what you are looking for is on how to use Data Connector API in .NET. As far as I know, our Forge team has not sample in .NET, but has samples in Node.js (which is also based on the skeleton of learning tutorial above)
https://github.com/Autodesk-Forge/forge-bim360-data.connector.dashboard
In addition, we also provided Postman collection for Data Connector API:
https://github.com/Autodesk-Forge/forge-bim360-data.connector.api-postman.collection
In Postman, code snippet in various languages (including .NET)) is available. It might be a reference for you to build the final application:
https://learning.postman.com/docs/sending-requests/generate-code-snippets/
How can I retrieve the scene ID without using postman?
I’m using the Forge toolkit for Unity and the 2legged auth. Is it absolutely necessary to use postman?
As Samuel said, Postman is just one of many ways to make calls to REST APIs such as the Forge AR/VR Toolkit. You can make these calls from other 3rd party applications, or from your own code.
In case of the AR/VR Toolkit, you can obtain the list of scenes available for a specific model URN using the GET /arkit/v1/{urn}/scenes endpoint.
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
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.