简体   繁体   English

Bim360:区分计划和项目文件文件夹

[英]Bim360: distinguish between Plans and Project Files folder

In BIM360, a project has 2 main folders: Plans and Project Files . 在BIM360中,一个项目有2个主要文件夹: 计划项目文件 When uploading files there, former one accepts only some file types and the latter one accepts many more. 在此上传文件时,前一种仅接受某些文件类型,而后一种则接受更多文件类型。 To cite Autodesk page : 引用Autodesk 页面

The Plans folder only supports DWF, DWFX, DWG, IFC, PDF, and RVT (current and previous 4 versions) files. Plans文件夹仅支持DWF,DWFX,DWG,IFC,PDF和RVT(当前和以前的4个版本)文件。 (..) (..)

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). 我有一个计划不接受的文件,所以我想上传到Project Files-问题是我不知道如何获取其ID(或名称/类型,以区别于Plans文件夹的任何方式)。

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. 我试图使用API​​获取两个文件夹的详细信息: / project / v1 / hubs /:hub_id / projects /:project_id / topFolders/ data / v1 / projects /:project_id / folders /:folder_id,但是没有运气。 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) (当然,不能通过名称DisplayName进行更改,而可以通过BIM ui面板进行更改)

As you pointed out, Project Files folder will have autodesk.bim360:File , meaning it will show the seed file when listing them. 如您所指出的, Project Files夹将具有autodesk.bim360:File ,这意味着列出它们时将显示种子文件。 Plans folder will extract and show the autodesk.bim360:Document and autodesk.bim360:ReviewDocument . Plans文件夹将解压缩并显示autodesk.bim360:Documentautodesk.bim360:ReviewDocument

In a correlated topic, this article explains about the Plans folder. 在相关主题中, 本文介绍了“ Plans文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM