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
{{ message }}
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
* allow many model types
* add tests
* fix document name
* more cleanup
* update ci poetry version
* do not reprocess on file update
* fix export,merge and optimize queues
* add types.py
* more contants
Copy file name to clipboardExpand all lines: docs/IfcApi.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2826,7 +2826,7 @@ null (empty response body)
2826
2826
2827
2827
Export IFC
2828
2828
2829
-
Export IFC as requested in parameters. When the export is finished, a new IFC file with will be created in the same folder than the original IFC. You can query the folder or subscribe to the new document webhook to retrieve the result Required scopes: ifc:write
2829
+
Only works for IFC files. Export IFC as requested in parameters. When the export is finished, a new IFC file with will be created in the same folder than the original IFC. You can query the folder or subscribe to the new document webhook to retrieve the result Required scopes: ifc:write
2830
2830
2831
2831
### Example
2832
2832
@@ -4594,7 +4594,7 @@ Name | Type | Description | Notes
4594
4594
4595
4595
Retrieve all models
4596
4596
4597
-
Retrieve all models Required scopes: ifc:read
4597
+
Retrieve all models. For legacy reasons, this route is named IFC but now handle all models types (DWG, PDF, IFC, etc). The field `type` allows you to discriminate which kind of model it is. Required scopes: ifc:read
console.log('API called successfully. Returned data: '+ data);
@@ -4637,6 +4638,7 @@ Name | Type | Description | Notes
4637
4638
**projectPk** | **String**| |
4638
4639
**status** | **String**| Filter the returned list by status | [optional]
4639
4640
**source** | **String**| Filter the returned list by source | [optional]
4641
+
**type** | **String**| Filter the returned list by type | [optional]
4640
4642
4641
4643
### Return type
4642
4644
@@ -5968,7 +5970,7 @@ Name | Type | Description | Notes
5968
5970
5969
5971
Merge IFC files
5970
5972
5971
-
Merge IFC files. The merged IFC file will be put in the same folder that the first IFC of the list Required scopes: ifc:write
5973
+
Only works for IFC files. Merge IFC files. The merged IFC file will be put in the same folder that the first IFC of the list Required scopes: ifc:write
5972
5974
5973
5975
### Example
5974
5976
@@ -6028,7 +6030,7 @@ null (empty response body)
6028
6030
6029
6031
Optimize the IFC
6030
6032
6031
-
Optimize the IFC. A new optimized IFC file will be put in the same folder that the original IFC Required scopes: ifc:write
6033
+
Only works for IFC files. Optimize the IFC. A new optimized IFC file will be put in the same folder that the original IFC Required scopes: ifc:write
Copy file name to clipboardExpand all lines: src/api/IfcApi.js
+12-9Lines changed: 12 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -3097,7 +3097,7 @@ export default class IfcApi {
3097
3097
3098
3098
/**
3099
3099
* Export IFC
3100
-
* Export IFC as requested in parameters. When the export is finished, a new IFC file with will be created in the same folder than the original IFC. You can query the folder or subscribe to the new document webhook to retrieve the result Required scopes: ifc:write
3100
+
* Only works for IFC files. Export IFC as requested in parameters. When the export is finished, a new IFC file with will be created in the same folder than the original IFC. You can query the folder or subscribe to the new document webhook to retrieve the result Required scopes: ifc:write
3101
3101
* @param {String} cloudPk
3102
3102
* @param {Number} id A unique integer value identifying this ifc.
3103
3103
* @param {String} projectPk
@@ -3148,7 +3148,7 @@ export default class IfcApi {
3148
3148
3149
3149
/**
3150
3150
* Export IFC
3151
-
* Export IFC as requested in parameters. When the export is finished, a new IFC file with will be created in the same folder than the original IFC. You can query the folder or subscribe to the new document webhook to retrieve the result Required scopes: ifc:write
3151
+
* Only works for IFC files. Export IFC as requested in parameters. When the export is finished, a new IFC file with will be created in the same folder than the original IFC. You can query the folder or subscribe to the new document webhook to retrieve the result Required scopes: ifc:write
3152
3152
* @param {String} cloudPk
3153
3153
* @param {Number} id A unique integer value identifying this ifc.
3154
3154
* @param {String} projectPk
@@ -5107,12 +5107,13 @@ export default class IfcApi {
5107
5107
5108
5108
/**
5109
5109
* Retrieve all models
5110
-
* Retrieve all models Required scopes: ifc:read
5110
+
* Retrieve all models. For legacy reasons, this route is named IFC but now handle all models types (DWG, PDF, IFC, etc). The field `type` allows you to discriminate which kind of model it is. Required scopes: ifc:read
5111
5111
* @param {String} cloudPk
5112
5112
* @param {String} projectPk
5113
5113
* @param {Object} opts Optional parameters
5114
5114
* @param {String} opts.status Filter the returned list by status
5115
5115
* @param {String} opts.source Filter the returned list by source
5116
+
* @param {String} opts.type Filter the returned list by type
5116
5117
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Ifc>} and HTTP response
5117
5118
*/
5118
5119
getIfcsWithHttpInfo(cloudPk,projectPk,opts){
@@ -5133,7 +5134,8 @@ export default class IfcApi {
5133
5134
};
5134
5135
letqueryParams={
5135
5136
'status': opts['status'],
5136
-
'source': opts['source']
5137
+
'source': opts['source'],
5138
+
'type': opts['type']
5137
5139
};
5138
5140
letheaderParams={
5139
5141
};
@@ -5153,12 +5155,13 @@ export default class IfcApi {
5153
5155
5154
5156
/**
5155
5157
* Retrieve all models
5156
-
* Retrieve all models Required scopes: ifc:read
5158
+
* Retrieve all models. For legacy reasons, this route is named IFC but now handle all models types (DWG, PDF, IFC, etc). The field `type` allows you to discriminate which kind of model it is. Required scopes: ifc:read
5157
5159
* @param {String} cloudPk
5158
5160
* @param {String} projectPk
5159
5161
* @param {Object} opts Optional parameters
5160
5162
* @param {String} opts.status Filter the returned list by status
5161
5163
* @param {String} opts.source Filter the returned list by source
5164
+
* @param {String} opts.type Filter the returned list by type
5162
5165
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Ifc>}
5163
5166
*/
5164
5167
getIfcs(cloudPk,projectPk,opts){
@@ -6607,7 +6610,7 @@ export default class IfcApi {
6607
6610
6608
6611
/**
6609
6612
* Merge IFC files
6610
-
* Merge IFC files. The merged IFC file will be put in the same folder that the first IFC of the list Required scopes: ifc:write
6613
+
* Only works for IFC files. Merge IFC files. The merged IFC file will be put in the same folder that the first IFC of the list Required scopes: ifc:write
6611
6614
* @param {String} cloudPk
6612
6615
* @param {String} projectPk
6613
6616
* @param {module:model/IfcMerge} data
@@ -6652,7 +6655,7 @@ export default class IfcApi {
6652
6655
6653
6656
/**
6654
6657
* Merge IFC files
6655
-
* Merge IFC files. The merged IFC file will be put in the same folder that the first IFC of the list Required scopes: ifc:write
6658
+
* Only works for IFC files. Merge IFC files. The merged IFC file will be put in the same folder that the first IFC of the list Required scopes: ifc:write
6656
6659
* @param {String} cloudPk
6657
6660
* @param {String} projectPk
6658
6661
* @param {module:model/IfcMerge} data
@@ -6668,7 +6671,7 @@ export default class IfcApi {
6668
6671
6669
6672
/**
6670
6673
* Optimize the IFC
6671
-
* Optimize the IFC. A new optimized IFC file will be put in the same folder that the original IFC Required scopes: ifc:write
6674
+
* Only works for IFC files. Optimize the IFC. A new optimized IFC file will be put in the same folder that the original IFC Required scopes: ifc:write
6672
6675
* @param {String} cloudPk
6673
6676
* @param {Number} id A unique integer value identifying this ifc.
6674
6677
* @param {String} projectPk
@@ -6719,7 +6722,7 @@ export default class IfcApi {
6719
6722
6720
6723
/**
6721
6724
* Optimize the IFC
6722
-
* Optimize the IFC. A new optimized IFC file will be put in the same folder that the original IFC Required scopes: ifc:write
6725
+
* Only works for IFC files. Optimize the IFC. A new optimized IFC file will be put in the same folder that the original IFC Required scopes: ifc:write
6723
6726
* @param {String} cloudPk
6724
6727
* @param {Number} id A unique integer value identifying this ifc.
0 commit comments