Forge/BIM360: Is there still no way to get at BIM360 Docs custom attributes on files? - autodesk-forge

I'm trying to read the custom attributes, which are defined at the folder level in BIM360 and then applied to individual file versions.
But I can't find any endpoint that seems to expose them.
Is it still not possible to read/write them?
(I see an Autodesk forum post from April that seems to say no, but I was hoping that they would be visible via the Forge APIs by now?).
Thanks,
Matt

AFAIK, the information of folder/file is provided by Forge Data Management API, this API is used as a common access to many different Autodesk SAAS app like A360 Personal, BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs.
Unfortunately, since the custom attributes are specified only for BIM360 Docs(correct me if I am wrong), so the Folder/Item API of Forge Date Management does not provide that information yet.

Related

Do you need a BIM360 license to acces BIM360 files

For a school project I need to display a BIM360 model in the forge viewer. I can't find clear information on whether or not I need to have a BIM360 license to do that. Can I use the API to get the model without my own BIM360 account? (My mentor has the BIM-model in his account)
Also I read that the forge viewer uses the data-derivative API to convert to a it's own format, this uses 0.2 credits every time. Can's I just convert the model once and then store it somewhere?
Thanks,
DrawMen
For you to be able to see and access the model in BIM 360, the owner will have to share it with you.
This forum post seems to indicate that you would indeed need a BIM360 license.
https://forums.autodesk.com/t5/bim-360-support/do-people-need-a-bim-360-design-license-to-use-docs-online/td-p/9573036#:~:text=Anyone%20who%20needs%20to%20review,license%20is%20not%20a%20BYOS
There is a way to share files with publc links, but I don't think this will give you access to a forge viewer. (only the file)
https://bim360basics.com/2020/04/22/public-links-share-bim-360-files-with-anyone/
That being said, depending on the type of file you are trying to view. A lot of Autodesk product now have a feature called "shared view" which let you create a 3ds view for the forge viewer that can be shared with anyone with a URL. It might be worth asking your mentor if he would be willing to create a shared view for you to use.

How to query for TimeLiner data from Forge API?

I used the TimeLiner plugin for Navisworks to create a 4D timeline. I'm now trying to grab this TimeLiner data from the Forge API. When I log into BIM360, I'm able to load a model into the viewer and see all TimeLiner information within a browser. However, I don't see how I can accomplish this with the Forge API. Is there an available API for this? Or is there another way to grab this info?
Unfortunately, the Timeliner properties are not extracted by Forge service (which BIM 360 is running on), and also some other properties. This blog tells in detail:
https://forge.autodesk.com/blog/updates-navisworks-nwd-translation-engine-coming
Currently, we do have an advanced option to override default configurations to tell NWD/NWC translator if it needs to translate Timeliner properties. BUT, this option is about Forge Model Derivative API ONLY.
While in BIM360 Docs UI, there is no any plan to expose options to let users override default configurations when they upload files. So for now, users uploading NWD/NWC files to BIM 360 Docs will lose Timeliner properties. Consequently, you will have to open those files inside Navisworks to view Timeliner data or take advantage of the Navisworks API to extract the data inside Navisworks. We apologize for the inconvenience.
However, we have legged a wish BIMPLT-698 with BIM360 engineering team to evaluate the possibility of adding options for end-user when they upload the model files. You're welcome to track the updates in the future via sending an email quoting this wish id to the Forge support channel.
Note. Triggering your own translation job to override your desired translation configurations via Forge Model Derivative API on files uploaded to BIM360 will charge you for cloud credits. You will have to consider the extra costs if you want to do so, and see here for the pricing: https://forge.autodesk.com/pricing

Use Forge to Access Change Report from BIM 360

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

Interconnecting autodesk forge and Vault api

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.

Can we access custom metadata attributes from BIM 360 docs using Forge API?

Using the forge API, we would like to query models by custom fields created in bim 360 docs (see screenshot). Could the API somehow provide us this possibility? We have investigated the data management api but can't find any request that handle custom attributes.
Unfortunately, Attribute API is not available for BIM 360 Docs yet, so this is not possible to obtain attribute data by API now. Apologies for any inconvenience caused. However, you can keep eyes on here for recent updates:
https://forums.autodesk.com/t5/bim-360-docs-forum/new-bim-360-release-notes-and-bim-360-roadmap/td-p/7753472
https://forums.autodesk.com/t5/bim-360-docs-forum/latest-updates-new-knowledge-network-articles-bim-360-docs/td-p/7738068