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:
|
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
Hi,
i've noticed that
Model.loaddoesn't call the callback if called withdeep=true.i.e.:
this is due to the missing
queryparam in thedownloadcall:BIMserver-JavaScript-API/model.js
Lines 40 to 44 in fbe734c
This is also confirmed by the BIMServer, which logs
when the above code is executed