示例描述與操作指南
以辦公區類模型爲例,對所選構件類進行隱藏處理,本示例默認選中 IfcFurnishingElement 類型構件組。其它常用的構件類型還有 IfcDoor、IfcWindow、IfcRailing、IfcSlab等。
通過接口hideComponentsByKey來實現。
示例效果展示
實現步驟
通過接口hideComponentsByKey來實現。
// 點擊運行觸發的函數
const run = () =>{
viewer3D.hideComponentsByKey(defaultCk); //構件隱藏
}