You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add id to topic files
* Add topic file ids to viewpoints
* Update TOC
* Fix reference to correct section in README
* Add clarification to not allow deletion of used topic files
Update a **collection** of file references on the topic header. This operation is only possible when the server returns the `updateFiles` flag in the Topic authorization, see section [3.2.8](#328-determining-allowed-topic-modifications). Servers must always accept a [File](Schemas/Collaboration/File/file_GET.json) reference returned by the [files_information](#331-get-project-files-information-service) endpoint. Servers may also accept other values such as a combination of fields from the header of the IFC file.
849
+
Update a **collection** of file references on the topic header. This operation is only possible when the server returns the `updateFiles` flag in the Topic authorization, see section [3.2.8](#328-determining-allowed-topic-modifications). Servers must always accept a [File](Schemas/Collaboration/File/file_GET.json) reference returned by the [files_information](#331-get-project-files-information-service) endpoint. Servers may also accept other values such as a combination of fields from the header of the IFC file. Servers should reject requests that remove files that are still referenced by viewpoints withing the same topic.
847
850
848
851
**Example Request**
849
852
@@ -864,10 +867,12 @@ Update a **collection** of file references on the topic header. This operation i
@@ -1125,7 +1130,10 @@ Note: For viewpoints without audit information (For example viewpoints created i
1125
1130
"y": 0.4,
1126
1131
"z": 0.1
1127
1132
}
1128
-
}]
1133
+
}],
1134
+
"topic_file_ids": [
1135
+
"570477df-428d-4d3d-a7ae-704d79da8cbd"
1136
+
]
1129
1137
}, {
1130
1138
"guid": "a11a82e7-e66c-34b4-ada1-5846abf39133",
1131
1139
"creation_date": "2013-10-21T17:34:22.409Z",
@@ -1172,7 +1180,11 @@ Note: For viewpoints without audit information (For example viewpoints created i
1172
1180
"y": 0.0,
1173
1181
"z": 0.0
1174
1182
}
1175
-
}]
1183
+
}],
1184
+
"topic_file_ids": [
1185
+
"570477df-428d-4d3d-a7ae-704d79da8cbd",
1186
+
"5328e0a1-d027-4cca-81d1-d59afb4cf798"
1187
+
]
1176
1188
}]
1177
1189
1178
1190
### 3.5.2 POST Viewpoint Service
@@ -1200,6 +1212,7 @@ JSON encoded body using the "application/json" content type.
1200
1212
| bitmaps | array of [Bitmap](#3527-bitmap)| embedded pictures in the viewpoint | optional |
1201
1213
| snapshot |[Snapshot](#3528-snapshot)| snapshot image of the viewpoint. Note: The longest dimension of should not exceed 1500 px, length or width. | see viewpoint optional/mandatory fields clarification |
1202
1214
| components |[Components](#3529-components)| Components in the viewpoint | optional |
1215
+
| topic_file_ids | array of strings | List of file ids that are referenced in the viewpoint | required, but can be an empty list |
Viewpoints are immutable, while topics may be changed later. To ensure that viewpoints are always referring to the correct models, the topic file IDs are used. This is a list of file IDs that are referenced in the viewpoint. The file IDs are from [GET Files (Header) Service](#332-get-files-header-service) endpoint.
1405
+
1388
1406
**Example Request**
1389
1407
1390
1408
POST /bcf/3.0/projects/F445F4F2-4D02-4B2A-B612-5E456BEF9137/topics/B345F4F2-3A04-B43B-A713-5E456BEF8228/viewpoints
@@ -1492,7 +1510,10 @@ BCF is suitable for controlling the translucency of a few components. A huge lis
1492
1510
"openings_translucent": false
1493
1511
}
1494
1512
}
1495
-
}
1513
+
},
1514
+
"topic_file_ids": [
1515
+
"570477df-428d-4d3d-a7ae-704d79da8cbd"
1516
+
]
1496
1517
}
1497
1518
1498
1519
**Example Response**
@@ -1567,7 +1588,10 @@ BCF is suitable for controlling the translucency of a few components. A huge lis
1567
1588
}],
1568
1589
"snapshot": {
1569
1590
"snapshot_type": "png"
1570
-
}
1591
+
},
1592
+
"topic_file_ids": [
1593
+
"570477df-428d-4d3d-a7ae-704d79da8cbd"
1594
+
]
1571
1595
}
1572
1596
### 3.5.3 GET Viewpoint Service
1573
1597
@@ -1657,7 +1681,10 @@ Retrieve a specific viewpoint.
0 commit comments