.. role:: ts-api-decorator

################
OpenModelOptions
################

.. js:module:: cee.ug
   :noindex:

.. container:: ts-api-section

   .. js:class:: OpenModelOptions

      Options for RemoteModel.openModel()

      :param 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.
      :param 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).



.. container:: api-index-section

   .. rubric:: Properties

   .. rst-class:: api-index-list-item api-kind-property api-parent-kind-interface

   * :js:attr:`~cee.ug.OpenModelOptions.configFlags`
   * :js:attr:`~cee.ug.OpenModelOptions.defaultResultCalculatorDefinitions`





------------

Properties
==========

.. container:: ts-api-section

   .. js:attribute:: OpenModelOptions.configFlags

      :type: string :ts-api-decorator:`optional`





.. container:: ts-api-section

   .. js:attribute:: OpenModelOptions.defaultResultCalculatorDefinitions

      :type: [ResultCalculatorDefinition] :ts-api-decorator:`optional`





