SView Help Center
English (US)

Property Configuration File

Author: sviewngts Last Updated: 2026-10-29 16:32

   Users can configure SView property-related settings themselves, including the visibility and ordering of the property panel, custom properties associated with annotations, and the information displayed in quick properties. The specific format of the configuration file is as follows:

{
 "version": "1.0",
 "configureItems": [
     {
         "name":"origin",
         "value": [
             "ID",
             "modelName",
             "name",
             "PLC",
             "PlaceID",
             "ProtoTypeID",
             "InstanceID",
             "Point",
             "Line",
             "CircleCenter",
             "CircleRadius",
             "CircleArcLength",
             "Color",
             "modelColor",
             "SubmodelsCount",
             "InstanceCount",
             "LOD0PatchCount",
             "FaceCount",
             "ModleViewCount",
             "PMICount",
             "modelVolume",
             "modelArea",
             "Volume",
             "Area"
         ]
     },
     {
         "name": "visibles",
         "value":[
             
         ]
     },
     {
         "name": "annotation",
         "value": [
             {
                 "name":"name",
                 "language_en":"Name",
                 "language_cn":"名称"
             },
             {
                 "name":"modelVolume",
                 "language_en":"Volume",
                 "language_cn":"体积"
             },
             {
                 "name":"modelArea",
                 "language_en":"Area",
                 "language_cn":"面积"
             }
         ],
         "default":"name",
         "showKeys":true
     },
     {
         "name": "showInfo",
         "value": [
             {
                 "name":"name",
                 "language_en":"Name",
                 "language_cn":"名称"
             },
             {
                 "name":"modelVolume",
                 "language_en":"Volume",
                 "language_cn":"体积"
             }
         ],
         "wrap":true,
         "showKeys":true
     }
 ]
}

Configuration Description:

  • version: Configuration file version.
  • configureItems: Array of configuration items. The currently supported configuration items are as follows:
    • origin: The initial property list of the property panel; value is an array of properties, for reference only.
    • visibles: The list of properties displayed in the property panel; value is an array of property JSONObjects, configuring which properties are displayed and their ordering.
    • annotation: Custom properties associated with annotations; value is an array of property JSONObjects, configuring the properties that can be associated when creating an annotation.
    • showInfo: The list of properties displayed in quick properties; value is an array of property JSONObjects. The setting items are the display groups in the settings dialog.

visibles Configuration Description:

  • name: The name of the configuration content; this item is "visibles".
  • value: The value of the configuration content; value is an array of property JSONObjects, configuring which properties are displayed and their ordering. The ordering follows the array order.
    • name: Property name.
    • language_en: Property name in English.
    • language_cn: Property name in Chinese.

annotation Configuration Description:

  • name: The name of the configuration content; this item is "annotation".
  • value: The value of the configuration content; value is an array of property JSONObjects, configuring the properties that can be associated when creating an annotation.
    • name: Property name.
    • language_en: Property name in English.
    • language_cn: Property name in Chinese.
    • default: The name of the property associated by default.
    • showKeys: Whether to display the associated property name; when false, only the property value is displayed.

showInfo Configuration Description:

  • name: The name of the configuration content; this item is "showInfo".
  • value: The value of the configuration content; value is an array of property JSONObjects. The setting items are the display groups in the settings dialog.
    • name: Property name.
    • language_en: Property name in English.
    • language_cn: Property name in Chinese.
    • wrap: Whether to wrap lines; when true, each property is displayed on its own line.
    • showKeys: Whether to display the associated property name; when false, only the property value is displayed.