UnitGroups

The UnitGroups property is a list of unit group objects. The name of each object can be used as the UnitGroup attribute for the InputBox control.

Each unit group object should have below explained properties.

UnitGroups 1:

Any unit group can have only either of LinkedDependentGroups or LinkedSourceGroup property.

For example, Length and Velocity UnitGroups are shown below.

"UnitGroups": [
   {
    "Length": {
      "DisplayUnit": "Unit_Length_mm",
      "SystemUnit": "Unit_Length_mm",
      "LinkedDependentGroups": [
        "Velocity",
        "Acceleration",
        "Jerk"
      ],
      "Units": [
        {
          "Unit_Id": "Unit_Length_mm",
          "UnitText": "mm"
        },
        {
          "Unit_Id": "Unit_Length_inch",
          "UnitText": "in"
        }
      ]
    }
  },
  {
    "Velocity": {
      "DisplayUnit": "Unit_Velocity_mm_s",
      "LinkedSourceGroup": "Length",
      "SystemUnit": "Unit_Velocity_mm_s",
      "Units": [
        {
          "LinkedSourceUnit": "Unit_Length_mm",
          "Unit_Id": "Unit_Velocity_mm_s",
          "UnitText": "mm/s"
        },
        {
          "LinkedSourceUnit": "Unit_Length_inch",
          "Unit_Id": "Unit_Velocity_in_s",
          "UnitText": "in/s"
        }
      ]
    }
  },
}]

Each unit object in the units list should have the properties listed below: