-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Hi,
i've noticed that Model.load doesn't call the callback if called with deep=true.
i.e.:
const client = new bimserverapi.BimServerClient(SERVER_ADDRESS);
// ...
client.getModel(
poid,
roid,
schema,
true, // deep
loadedModel => {
console.log("Model loaded!");
},
"TestModel"
);this is due to the missing query param in the download call:
BIMserver-JavaScript-API/model.js
Lines 40 to 44 in fbe734c
| othis.bimServerApi.call("ServiceInterface", "download", { | |
| roids: [othis.roid], | |
| serializerOid: serializer.oid, | |
| sync: false | |
| }, function (topicId) { |
This is also confirmed by the BIMServer, which logs
12:06:45 ERROR [qtp669700766-34]: Missing parameter: download -> query
when the above code is executed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels