Community
BIM 360 API Forum
Welcome to Autodesk’s BIM 360 API Forums. Share your knowledge, ask questions, and explore popular BIM 360 API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connecting Forge viewer with BIM 360

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
SelaO
2563 Views, 4 Replies

Connecting Forge viewer with BIM 360

We would like to use BIM 360 as our database and storage of model files, and we would also like to connect them with the Forge viewer.

 

So my questions are: 

 

1. Is it possible to use BIM 360 as the storage for the model file, database for customers and projects and be able to pull the model files from the storage to send to Forge for translation for the viewer?

 

2. If it's possible, can you point me to examples that achieve this? A working repository that integrates with the viewer would be great.

 

3. How does buckets connect with BIM 360?

Tags (3)
4 REPLIES 4
Message 2 of 5
mikako_harada
in reply to: SelaO

Hi Sela, 

 

BIM 360 right now is a collection web services.  Among them, two services use OSS:  BIM 360 Team and BIM 360 Docs. Both are based on Forge Data Management API API Viewer.  If you use BIM 360 Team, you can use Forge API to access data and and use viewer today. The same API should also work for BIM 360 Docs near future. But not today.  Hoping to have it very soon.

 

With this background, my suggestion will be start playing with Forge API using A360 or BIM 360 Team if you haven't done so. (they all use the same Forge Data Management API.)  Then, when API is open for Docs, then the same code should work with Docs with very little or no modification.  

We have been demoing data management API with Docs. So the same API works. 

 

Re. #1 - as of today, possible with BIM 360 Team. you need to wait a bit for BIM 360 Docs. 

 

Re. #2 - good samples are: 

 

https://derivatives.autodesk.io/

https://github.com/Autodesk-Forge/model.derivative-nodejs-sample

 

https://dm.autodesk.io/

https://github.com/Autodesk-Forge/forge-boilers.nodejs

 

Re. #3 - to use a viewer, you will need to get urn for derivatives.  within the data management API, you can get this handle.

 

Re. #4 - right now, HQ API is available for enterprise customer + ADN members.

 

Some more links as reference: 

 

https://fieldofviewblog.wordpress.com/2016/08/04/materials-from-forge-devcon-2016/

 

https://www.youtube.com/watch?v=cOQEyI-EMAQ&feature=youtu.be&list=PL_6ApchKwjN9CZCqUl4RZrsyDvnTV1Jgb

 

https://fieldofviewblog.wordpress.com/2016/08/15/development-sandbox-for-bim-360-api/

 

https://fieldofviewblog.wordpress.com/2016/08/09/bim-360-api-on-forge/

 

for example, In the video, I shows the access to data on A360/BIM360, then view a model.  

 

with samples in #2, you should be able to view your data on A360 and BIM 360 Team.  

 

I hope we will have a news about API for Docs very soon. 


Mikako Harada
Developer Technical Services
Message 3 of 5
svnindia
in reply to: mikako_harada

we are building a web app with forge viewer.

upload the model and translating with model derivatives api. use the URN in the Forge Viewer working fine

 

Question

 

is possible to get the the URN for the given bim360 docs url ?

 

how to load the bim360docs into our webapp forge viewer ?

 

Ref:

https://developer.autodesk.com/en/docs/data/v2/tutorials/download-file/

https://developer.autodesk.com/en/docs/model-derivative/v2/tutorials/prepare-file-for-viewer/

Message 4 of 5
mikako_harada
in reply to: svnindia

Hi svnindia, 

 

You can get a "seed" file using Data management API.  

 

https://fieldofviewblog.wordpress.com/2017/08/19/materials-from-bim-360-online-hackathon-webinars/

 

https://www.youtube.com/watch?v=dwxKHOMi2xM&list=PL_6ApchKwjN9CZCqUl4RZrsyDvnTV1Jgb&index=4 

 

I showed how to get the urn of a file uploaded to BIM 360 Docs in the video.  Please take a look around 43:19  

it shows accessing to derivatives.data.id 

 


Mikako Harada
Developer Technical Services
Message 5 of 5
svnindia
in reply to: mikako_harada

its great video to understand the data response.

 

Where can i get access to the Test Harness code 🙂 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report