OpenModelOptions

class cee.ug.OpenModelOptions()

Options for RemoteModel.openModel()

Arguments:
  • defaultResultCalculatorDefinitions – Provide setup of result calculators requiring an initString (e.g. expression) that should be available when the model is opened. This will allow you to use this result in the OpenModelCallback passed into openModel(). See RemoteModel.createResultCalculator for more info. Note: this is only needed for calculators that require an init string and not for calculators producing pre-defined results.
  • configFlags – Internal config flags used for debugging and testing of experimental features. Config flags: - maxcellchunk: LOD setting for maximum of cells per chunk (spatially partitioned data) along longest extent of chunk bounding box. Default 80. - maxcellglobal: LOD setting for the total maximum of cells for all chunks along longest extent of model bounding box. Default 800. - minecraft: Only stream the LOD data. No full resolution data will be streamed. This is useful for testing LOD. - singlestepmode: Only keep one state in memory on the server when setting up an animation. This will use less memory on the server, but will require reloading of data if anything is changed (moving cutting plane, changing result etc).

Properties

OpenModelOptions.configFlags
Type:string optional
OpenModelOptions.defaultResultCalculatorDefinitions
Type:[ResultCalculatorDefinition] optional