OptionalautoOptionalbgCustom background color (hex without #)
OptionalcameraInitial absolute camera orientation in degrees; the model is framed at
that orientation. zoom is accepted but NOT applied — the viewer has no
absolute-zoom actuator and the field carries no unit.
CSS selector or DOM element to mount the iframe into
OptionalcontrolsRestrict interactive orbit/pan/zoom. 'orbit'/'pan' allow only that
gesture, 'none' freezes the view, 'all' is unrestricted. Programmatic
moves (setCamera, view/camera options, SDK calls) are unaffected.
OptionalhideHide the axis helper.
OptionalhideHide the scale bar.
OptionalhideIFC class names to hide, matched case-insensitively (IFCSPACE === IfcSpace).
Takes precedence over setTypeVisibility: the two are ANDed, so naming a class
here that also has a visibility toggle keeps it hidden even after a later
setTypeVisibility({ spaces: true }). There is no call that un-hides a
hideTypes entry; re-initialise the embed to change the list.
Hides meshes AND the symbolic 2D overlay (dimension lines, drawing text, grid bubbles), which is not a mesh and so needed a route of its own (#2934).
For the overlay, matching is on the class that OWNS the drawn content, which
is worth spelling out. Dimensions, leaders and room tags are owned by
IfcAnnotation; grid axes and their bubbles by IfcGridAxis — NOT by
IfcGrid, which owns no drawn content and therefore hides nothing. Naming a
wall or a space removes their meshes and no 2D content: their Axis and
FootPrint representations are not drawn in the 3D viewport at all.
An overlay channel switches off only when every owner class it draws is named, so hiding one class can never take another's content with it.
OptionalisolateEntity ids to isolate once the first model is on screen. Same id rule as select.
OptionalmodelURL of the model to load on initialization
OptionaloriginOrigin of the hosted embed viewer (defaults to production)
OptionalselectEntity ids to select once the first model is on screen. The viewer keeps only positive integers, so a non-integer or non-positive id is dropped there rather than reported back here.
OptionalthemeColor theme
OptionaltimeoutHandshake timeout in ms (default: 15000)
OptionaltokenAuth token (sent via postMessage, not URL)
OptionalviewPreset camera view. Takes precedence over camera.
Set
falseto suppress the automatic fetch ofmodelUrl, leaving the viewer mounted and empty until the host loads something itself. Omitted andtrueboth mean "load", matching the viewer's default — only an explicitfalseis serialised, because the parser treats every value other than the literal'false'astrue.