簡體   English   中英

鍛造 Api - 搜索

[英]Forge Api - Search

我在我的 forge 查看器中顯示了多個 IFC 文件。 到這里一切都很好。 我正在苦苦掙扎的是,我想從查看器中的所有 ifc 文件中找到一個屬性的值,比如 name ,我還需要這些值來證明這個值來自哪個 ifc 文件。

感謝和問候

獲取 model 參考,然后調用 getProperties

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

我們有一個多模式復習博客,請參考這里

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM