无法从 Autodesk BIM360 获取自定义属性数据以进行数据管理 API
Not able to get custom attribute data from Autodesk BIM360 for data management API
无法从 Autodesk BIM360 获取自定义属性数据以进行数据管理API - https://forge.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-folders-folder_id-contents-GET/
当我试图获取具有特定文件夹的特定项目中的所有可用数据时,我没有在其中获取自定义属性数据。我还需要该文件夹中包含的文件的自定义属性数据。而我只能获取数据和包含缺少自定义属性值的值。 API 自定义属性值也丢失了。请在下面找到它。
data": [
{
"type": "folders",
"id": "urn:adsk.wipprod:dm.folder:hC6k4hndRWaeIVhIjvHu8w",
"attributes": {
"name": "Plans",
"displayName": "Plans",
"createTime": "2015-11-27T11:11:23.000Z",
"createUserId": "BW9RM76WZBGL",
"createUserName": "John Doe",
"lastModifiedTime": "2015-11-27T11:11:27.000Z",
"lastModifiedTimeRollup": "2015-11-27T11:11:27.000Z",
"lastModifiedUserId": "BW9RM76WZBGL",
"lastModifiedUserName": "John Doe",
"path": "/dm-test-root/f0cb4ba0-7722-0133-9814-0eeb7bad1e3b",
"objectCount": 4,
"hidden": false,
"extension": {
"type": "folders:autodesk.bim360:Folder",
"version": "1.0",
"schema": {
"href": "/schema/v1/versions/folders%3Aautodesk.bim360%3AFolder-1.0"
},
"data": {
"allowedTypes": [
"folders",
"items:autodesk.bim360:File",
"items:autodesk.bim360:Document",
"items:autodesk.bim360:TitleBlock"
],
"visibleTypes": [
"folders",
"items:autodesk.bim360:Document"
],
"namingStandardIds": []
}
}
我也想保存自定义属性及其值。Please find the image of the custom attribute with their values in the format of rows and colums
要在 BIM360 中获取文档的自定义属性,您将需要使用另一个端点 (Version:Batch:Get)。这个博客告诉更多。
https://forge.autodesk.com/blog/custom-attributes-apis-bim-360-document-are-now-public-beta
同时请注意,自 2021 年 3 月 23 日起,在新创建的项目中,自定义属性定义是在项目级别(以前是在文件夹级别)创建的,尽管您仍然可以使用上面的端点访问自定义属性,有一个差距,即没有端点尚未获得项目级别的定义。这个博客告诉更多:
https://forge.autodesk.com/blog/custom-attributes-projects-created-and-after-march-23-2021
无法从 Autodesk BIM360 获取自定义属性数据以进行数据管理API - https://forge.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-folders-folder_id-contents-GET/
当我试图获取具有特定文件夹的特定项目中的所有可用数据时,我没有在其中获取自定义属性数据。我还需要该文件夹中包含的文件的自定义属性数据。而我只能获取数据和包含缺少自定义属性值的值。 API 自定义属性值也丢失了。请在下面找到它。
data": [
{
"type": "folders",
"id": "urn:adsk.wipprod:dm.folder:hC6k4hndRWaeIVhIjvHu8w",
"attributes": {
"name": "Plans",
"displayName": "Plans",
"createTime": "2015-11-27T11:11:23.000Z",
"createUserId": "BW9RM76WZBGL",
"createUserName": "John Doe",
"lastModifiedTime": "2015-11-27T11:11:27.000Z",
"lastModifiedTimeRollup": "2015-11-27T11:11:27.000Z",
"lastModifiedUserId": "BW9RM76WZBGL",
"lastModifiedUserName": "John Doe",
"path": "/dm-test-root/f0cb4ba0-7722-0133-9814-0eeb7bad1e3b",
"objectCount": 4,
"hidden": false,
"extension": {
"type": "folders:autodesk.bim360:Folder",
"version": "1.0",
"schema": {
"href": "/schema/v1/versions/folders%3Aautodesk.bim360%3AFolder-1.0"
},
"data": {
"allowedTypes": [
"folders",
"items:autodesk.bim360:File",
"items:autodesk.bim360:Document",
"items:autodesk.bim360:TitleBlock"
],
"visibleTypes": [
"folders",
"items:autodesk.bim360:Document"
],
"namingStandardIds": []
}
}
我也想保存自定义属性及其值。Please find the image of the custom attribute with their values in the format of rows and colums
要在 BIM360 中获取文档的自定义属性,您将需要使用另一个端点 (Version:Batch:Get)。这个博客告诉更多。 https://forge.autodesk.com/blog/custom-attributes-apis-bim-360-document-are-now-public-beta
同时请注意,自 2021 年 3 月 23 日起,在新创建的项目中,自定义属性定义是在项目级别(以前是在文件夹级别)创建的,尽管您仍然可以使用上面的端点访问自定义属性,有一个差距,即没有端点尚未获得项目级别的定义。这个博客告诉更多: https://forge.autodesk.com/blog/custom-attributes-projects-created-and-after-march-23-2021