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
Acording last the last code of web-ifc-three.js when it request GetNameFromTypeCode from IFC/web-workers/workers/WebIfcWorker.ts module, it passes data.args.modelID parameter as is shown in the following code,
The resulting value of data.args.modelID is undefined because acording last web-ifc implementation now the parameter passed is data.args.type. So the GetNameFromTypeCode body should be modified as it follows,
export class WebIfcWorker implements WebIfcWorkerAPI {
...
GetNameFromTypeCode(data: IfcEventData) {
data.result=this.webIFC.GetNameFromTypeCode(data.args.type); // data.args.type --> ok
this.worker.post(data);
}
...
}
The text was updated successfully, but these errors were encountered:
Hi,
Acording last the last code of
web-ifc-three.js
when it requestGetNameFromTypeCode
fromIFC/web-workers/workers/WebIfcWorker.ts
module, it passesdata.args.modelID
parameter as is shown in the following code,The resulting value of
data.args.modelID
is undefined because acording lastweb-ifc
implementation now the parameter passed isdata.args.type
. So theGetNameFromTypeCode
body should be modified as it follows,The text was updated successfully, but these errors were encountered: