OptionalkeyThe domain key ti be used with the BimCT Server, if you dont set it the viewer will only run o localhost environments, a watermakr will be displayed on unlicensed domains. To get a domain key for a web application please contact BimCT Sales
OptionalecoEco Rendering means always draw render loop, otherwise rendering will stop after 5 seconds of inactivity See also: BaseRenderer.refreshRedrawNeeded
OptionalguiUse the BimCT UI by default everything is set to non used (false)
OptionaluseContextMenu?: booleanUse Right Click Menu
OptionaluseSettingsWindow?: booleanUse Settings Window
OptionalusePropertiesWindow?: booleanUse Properties Window
OptionaluseDesignTreeWindow?: booleanUse Properties Window
OptionaluseFilterElementsWindow?: booleanUse Filter Elements
OptionaluseSnapshotWindow?: booleanTake Snapshots
OptionaluseExportToMap?: booleanExport Design Model to Tile Layers (requires BimCT Tile Layer server license)
OptionaluseSplitElements?: booleanUse Split Elements, allow UI for splitting elements into smaller parts, this will also enable the Split Elements Tool in the Toolbar
OptionaluseMessageBoxes?: booleanMessage Boxes
OptionaluseViewsWindows?: booleanEnable Views Windows
OptionalviewsDataBinding?: BimCTViewsDataBindingOptionalviewsSavingOptions?: BimCTViewsOptionsOptionaluseShareWindow?: booleanUse Share Window
OptionalsharesDataBinding?: BimCTSharesDataBindingOptionalcustomElementProperties?: { editEnabled?: boolean; dataBinding?: BimCTCustomElementPropertiesDataBinding }Use Custom Properties
Optionalmap?: { visible?: boolean; type?: "2D" | "3D"; syncToModelStateChanges?: boolean }Optionalvisible?: booleanwhether to start the viewer with the map visible default is false
Optionaltype?: "2D" | "3D"whether to start the viewer with the map in 3D or 2D mode default is 2D
OptionalsyncToModelStateChanges?: booleanuse this to sync the map model image with what is happening in the viewer (selection changes, visibibily changes, measurements etc), WARNING: this may cause performance issues with big files it is recommended to use this only with smaller files, every time a click is performed an image is made if turning this on
Optionalsettings?: { showGeneral?: boolean; showRenderer?: boolean; showEnvironment?: boolean }whether to show the general, renderer and environment tabs in the settings window
OptionaluseWebXRWindow?: booleanWebXR
OptionaluseToolbar?: booleanUse Default Toolbar
OptionaluseLeftToolbar?: booleanUse Left Toolbar
OptionaluseHomeToolbar?: booleanUse Left Toolbar
OptionaluseTimeChanger?: booleanShow Time Changer (on/off)
OptionaluseTouchWidget?: booleanUse TouchWidget
OptionaluseQuantitiesLabel?: booleanUse Quantitites Label
OptionalenableTransformButton?: booleanUse Quantitites Label
OptionalsplashScreenImageURL?: stringURL of Splash Screen Image
OptionalleftToolbarCustomItems?: BimCTCustomToolbarButton[]Custom Buttonm Items for the Left Toolbar
OptionalpreloadProperties Preloaded to ElementInfo, increases the memory of javascript
OptionalcreateCreates an SQLite DataBase than contains the 3D Models Loaded, this will increase the loading time but will allow to use features like SQL Queries using the BimCTMetadataAccessor's DatabaseManager after loading
OptionalpersistPersist the SQLite Database in the Browser Storage so that it is available on next sessions
OptionalrollEco Rendering means always draw render loop, otherwise rendering will stop after 5 seconds of inactivity See also: BaseRenderer.refreshRedrawNeeded
OptionalmeasurementDefine the Measurement System (Imperial or Metric)
OptionaldisplayDisplay Format and Language for Numbers and Text
OptionalmapsOptionalsnappingSnapping Enabled, will increase the Emscripten Memory and every time you show or hide an element the points will be racomputed
OptionalglassGlass Hover over windows
Optionalcube3D rotation cube Widget Options
OptionalassetsAssets Base Path, use this to change the assets location
OptionalbimctBimCT Server URL for additional functions lile OCR text, isometric, template matching GIS etc, the license must also support theses features
OptionalbimctBimCT Viewer Base Path, place where the bimct-viewer.js is located for creating i-frames for functions like side by side comparison
OptionalloggingEnable/Disable logging. Default false
OptionalmeasurementsDefaults for Measurements, used to set the default values for measurements in the viewer
OptionalhighlightHighlight Color
OptionalhighlightHighlight Color Alpha (default 0.8)
OptionalhighlightHighlight Color Aplha for XRay Mode (default 0.4)
OptionalhighlightHighlight Border Color
OptionalhighlightHighlight Point Color
OptionalxWhether to use XRay effect on Highlighted Elements Faces and Measurements
OptionalhybridWhether to ignore transparent element selection in hybrid mode
OptionalhybridThe alpha transparency of the hybrid mode. Default 0.1
OptionalhybridThe alpha transparency of the hybrid mode for colorized elements. Default 0.1
OptionalambientAmbient lighting color. Default rgb(0.7, 0.7, 0.7), applys to non Realistic Modes
OptionalbackgroundBackground color. Default rgb(1, 1, 1)
OptionalbackgroundBackground colors for gradient image. Default rgb(1, 1, 1)
OptionalbackgroundOptionalpaperPaper Color
OptionalskymapSkymap image id available values (desert, grass or null)
OptionalgridGrid on bottom of the design model
OptionaltransformationTransformation Gismo Options
OptionalgroundGround shadow on/off
OptionalshadowShadows on/off (realistic mode only)
OptionalsunSun Light on/off (realistic mode only)
OptionalsunSun Flare on/off (realistic mode only)
OptionalenhancedEnhance silhouettes to emphasize edges
OptionallinesLines on/off
OptionalhatchesHatches on/off
OptionalshadingInitial shading mode
OptionalpickInitial picking mode
OptionalmodelOverride Default Model Location (used for true alignment of Sun-Light in the Scene) will used those values instead of those found in design file
Declarative Initialization Options. Everything here can be changed at runtime with the appropriate call