简体   繁体   中英

Forge Api - Search

I am showing multiple IFC files in my forge viewer. Till here everything is fine. What I am struggling with is that I want to find values of an attribute say for name from all the ifc files in the viewer with the values I also need to to that this value has come from which ifc file.

Thanks & Regards

Get the model reference and then call getProperties

for (const model of viewer.getVisibleModels()) {
  viewer.isolate(null, model);
}
Model.prototype.getProperties = function(dbId, onSuccessCallback, onErrorCallback) 
{...}

We have a multimodal refresher blog, please refer here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM