I've been following this tutorial to successfully upload Revit & AutoCad files to Bim360 Docs using 2-legged tokens. I am also using the 'x-user-id' header.
The problem I'm having is after the model is published to Bim360 docs, it’s not viewable in the browser and derivatives are empty (see below). It appears that the model translation job never occurs. Isn’t this supposed to happen automatically for Bim360 Docs files? Could the 2-legged token be hindering this process? Is there another step I'm missing?
I've even tried to manually kick off a translation job after uploading the file by calling this API with NO success.
This image is the result of calling the manifest API.
empty derivatives
Thank you for reporting it to us. Our engineering team is investigating the problem. But you should see the progress status 100% now, please haveing a try, thanks!
Related
I did it according to the example on the official website, but the model couldn't be loaded。I don't know why, I followed the tutorial, and I checked the API should be open normally,I think I need help. Here's a screenshot of the error;
I see two possible explanations for this type of error:
The model is coming from A360 or Fusion Teams. If that's the case, please note that models uploaded to these applications are not translated automatically by the Forge Model Derivative service (hence the viewer error stating that there are no "viewables" to load). You have to open the designs in their owning application first to initiate the translation process, and then you can try accessing them from your own Forge application.
It's possible that the sample application is having issues with some of the characters used in the file names. Check if the same error happens when you name your files using English alphabet.
Related to this 2-year-old question: BIM 360 Project creation template
Is there still not a way to replicate the Web UI option "Activate Document Management" -> "Apply a project template" that duplicates folder structure and role-based permissions?
Specifically, I'm looking at requests to create a project
POST projects https://forge.autodesk.com/en/docs/bim360/v1/reference/http/projects-POST/ supplying a template_project_id value
and then activate with
POST users/import v2 https://forge.autodesk.com/en/docs/bim360/v1/reference/http/projects-project_id-users-import-POST/
I don't see any other template input in the API documentation besides the first request, and that does not appear to bring folder structure along.
unfortunately, what you found is correct currently, creating a project from a template with folder structure and role permission is not supported with current API, but you can achieve that by yourself as shown in a sample project at https://github.com/Autodesk-Forge/forge-bim360.project.setup.tool.
This is actually a high requested wish HQ-5023 as you can see at https://fieldofviewblog.wordpress.com/2019/06/15/bim-360-acc-api-known-issues-and-wishes/#more-4424 , our engineering is actively working on that, we will update you at our blog if any progress.
Based on reading the documentation, and running some tests, this appears to be unavailable still. I would very much like to be proven incorrect by someone at Autodesk! Thanks.
in BIM360 I recovered the issues with the specific issues method described at this link
https://forge.autodesk.com/en/docs/bim360/v1/reference/http/field-issues-GET/
For each issue I have "snapshot_urn" as information (if a markup has been added to the issue, otherwise NULL).
ISSUE snapshot URN
Is it possible to get the snapshot image via snapshot_urn? What API should I use?
TIA
Alder
Does anyone (you know who you are) know exactly what is disappearing when Autodesk deprecates the /v1 equivalent of the ModelDerivative API?
I've taken care of everything that was in the blog post here:
https://forge.autodesk.com/cloud_and_mobile/2016/09/autodesk-forge-apis-migrating-from-v1-to-v2.html
But I also have some calls such as:
/viewingservice/v1/:URN/status
and:
/viewingservice/v1/items/:dbpath object_ids.json.gz
That were not specifically mentioned. Will these also need to be modified?
These endpoints will no longer be valid. The status of a translation can be obtained by using the GET :urn/manifest endpoint.
We have official SDK's for multiple programming languages that will make it easier to handle the REST calls.
To download the derivatives of a model, the SDK's do not expose direct methods so you actually have to issue the calls "directly". Take a look at the extract.io sample that expose the full download workflow, more specifically there.
Hope that helps
I went through method documentations both patch and update and it looks they both doing the same.
And i also note that the patch doesn't required the content of the patching comment even though its required to call the patch() method.
So, is the difference between comment.patch() and the comment.update() methods in Google Drive API?
PS : I'm using Google-Drive Java SDK for my implementation.
Thanks.
Patch is used to perform partial updates and save some bandwidth when, for instance, you only want to update a single field in a resource.
For more details about how patch work and for other performance tips, please check the Google Drive SDK documentation:
https://developers.google.com/drive/performance#patch