Solved

Download 3d files from CDF - fundamentals through API ?

  • 14 February 2023
  • 3 replies
  • 52 views

We planned to Download 3d files from CDF - fundamentals through API , However I can able to find correct API for this. Can anyone explain which api will for work this scenario and what is the concept of asset when  models addition. 

icon

Best answer by Trygve Utstumo 14 February 2023, 09:16

View original

3 replies

You have to jump through a couple of steps to get the fileID and then download.

Use the Fusion GUI to find the modelID and revisionID.

Then use https://api.cognitedata.com/api/v1/projects/{project}/3d/models/{modelId}/revisions/{revisionId} to get the fileID.

You can then get the actual file through an API call

to:https://api.cognitedata.com/api/v1/projects/{project}/3d/files/{threedFileId}

 

Hi @Trygve Utstumo ,

Thanks for your response. I can be able to download thumbnail images and 3d files.

However, I can’t be able to download the 3D Content from below API

 

API : https://api.cognitedata.com/api/v1/projects/publicdata/files

https://api.cognitedata.com/api/v1/projects/{project}/3d/files/{threedFileId}

 

I tried this Valhall PH file from public data project, after debug, I found File not found error message in this GUI site

https://publicdata.fusion.cognite.com/publicdata/3d-models

 

I can be able to download and upload the 3d content from CDF – fundamentals project but I faced this issue only when using public data and infield training. Can you please guide us to how access?

Userlevel 4
Badge +2

Hi @Karthick Ramadoss ,

Cognite has restricted the 3D model downloading for the publicdata tenant and you are unable to download the data because you are missing the required capability.

 

Reply