三维模型中的办公区模型如何高亮

Answer Answer

以小红砖开放平台中的以办公区模型为例,高亮选中的构件类,本示例默认选中IfcFurnishingElement类型构件组。其它常用的构件类型还有IfcDoor、IfcWindow、IfcRailing、IfcSlab、IfcWall、IfcWallStandardCase等。点击“运行”按钮,可看到效果。

本示例默认选中IfcFurnishingElement类型构件组。

所需代码:

constcomponentKeys=component.getKeys();constcomponentFilterKeys=component.filterKeyByType(componentKeys,"IfcFurnishingElement");component.setHighlight(componentFilterKeys);

内容均由AI生成,其生成内容的准确性和完整性无法保证,不代表我们的态度或观点。