Use different colors for walls, slabs, doors, windows and rooms so each group is easy to identify.
The architectural clinic model opens with red walls, purple slabs, amber doors/windows and green rooms. BCF coloring assigns each group of IFC GlobalIds a color; eight-digit colors use ARGB, including transparency. The page writes one viewpoint with bcf.save() and applies it with viewer.add() and viewer.selectTopic().
Click a colored component, then click 1 element selected at the top left to open Properties.
Component groups and project identifiers are queried from source bytes through the native viewer.IfcAPI. Colors, camera poses and cutting planes are authored BCF inputs.
The page opens the original source bytes with await viewer.IfcAPI, reads native model data, then closes the model and disposes WASM before displaying the source with viewer.add(). See the complete web-ifc API reference.
BSI (2020) “Medical-Dental Test Files,” buildingSMART International · CC BY 4.0