5.23.3.2.4. Custom buttons above 3D view

  "toolbars": {
    "viewer": ["exampleButton", "exampleVBSButton"],

Button with JavaScript example"JS Example" button

Button with JavaScript example

The labeling is defined under "buttons":

    "buttons": {
      "exampleButton": {
        "type": "JS",
        "name": {
          "de-DE": "JS Beispiel",
          "en-GB": "JS Example"
        },
        "callback": "onExampleButtonClicked",
        "icon": "/webapps/3dfindit-enterprise/plugins/3dFinditEyeColor.svg",
        "tooltip": {
          "de-DE": "JS Beispiel",
          "en-GB": "JS Example"
        }
      },
      "exampleVBSButton": {
        "type": "VBS",
        "icon": "/webapps/3dfindit-enterprise/plugins/3dFinditEyeColor.svg",
        "name": {
          "de-DE": "VBS Beispiel",
          "en-GB": "VBS Example"
        },
        "script": "/plugins/vbb/wstest.vbs",
        "requestFromPdm": "currentuser",
        "tooltip": {
          "de-DE": "VBS Beispiel",
          "en-GB": "VBS Example"
        }
      },