Bim360: distinguish between Plans and Project Files folder

谁说我不能喝 提交于 2019-12-11 05:09:51

问题


In BIM360, a project has 2 main folders: Plans and Project Files. When uploading files there, former one accepts only some file types and the latter one accepts many more. To cite Autodesk page:

The Plans folder only supports DWF, DWFX, DWG, IFC, PDF, and RVT (current and previous 4 versions) files. (..)

The following file types are not supported for upload to Document Management (listed here..). All other file types can be uploaded to the Project Files folder, though not all may be viewable in Document Management.

Now my question is: how do one distinguish between them while uploading a file? I have a file that won't be accepted by Plans so I want to upload to Project Files - the problem is I don't know how to get its ID (or name/type, anything to distinguish it from the Plans folder).

Unfortunately I am not able to find an unambiguous property that would clearly state which one allows uploading everything and which one doesn't. I tried to get the details of both folders using API: /project/v1/hubs/:hub_id/projects/:project_id/topFolders and /data/v1/projects/:project_id/folders/:folder_id but no luck. In comparison they look the same: both folders compared

Is there a way to tell them apart?

(of course not by Name nor by DisplayName which both can be changed from the BIM ui panel)


回答1:


As you pointed out, Project Files folder will have autodesk.bim360:File, meaning it will show the seed file when listing them. Plans folder will extract and show the autodesk.bim360:Document and autodesk.bim360:ReviewDocument.

In a correlated topic, this article explains about the Plans folder.



来源:https://stackoverflow.com/questions/55302877/bim360-distinguish-between-plans-and-project-files-folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!