Default JSON for definition
- Last UpdatedOct 02, 2025
- 2 minute read
The default JSON structure for definition in Configuration fields of the Toolbar module.
// Default JSON structure
{
"hideIcon":"?",
"showIcon":"$",
"submenuBackIcon":"f",
"font":"icon-font,antialias,18",
"sections": [
{
"name": "CameraNavigation",
"collapseMode": "icon",
"collapseIcon": "g",
"elements": [
{
"name": "Undo",
"type": "Button",
"enabled":"false",
"mode": "push",
"font": "icon-font,antialias,18",
"text": "v",
"callback": ""
},
{
"name": "Redo",
"type": "Button",
"enabled":"false",
"mode": "push",
"font": "icon-font,antialias,18",
"text": "q",
"callback": ""
},
{
"name": "Reset",
"type": "Button",
"enabled":"false",
"mode": "push",
"font": "icon-font,antialias,18",
"text": "r",
"callback": ""
},
{
"name": "Unknown",
"type": "Button",
"enabled":"true",
"mode": "push",
"font": "icon-font,antialias,18",
"text": "w",
"callback": ""
}
]
},
{
"name": "NavigationControlPanels",
"collapseMode": "radio",
"collapseRadioGroup": "NavRadio",
"elements": [
{
"name": "Orbit",
"type": "Button",
"enabled":"true",
"mode": "radio",
"radioGroup": "NavRadio",
"font": "icon-font,antialias,18",
"text": "N",
"callback": "",
"default": "true",
"toolTipText":"Orbit nagivation"
},
{
"name": "Fly",
"type": "Button",
"enabled":"true",
"mode": "radio",
"radioGroup": "NavRadio",
"font": "icon-font,antialias,18",
"text": "m",
"callback": "",
"toolTipText":"Fly nagivation"
},
{
"name": "Walk",
"type": "Button",
"enabled": "true",
"mode": "radio",
"radioGroup": "NavRadio",
"font": "icon-font,antialias,18",
"text": "x",
"callback": "",
"toolTipText":"Walk nagivation"
}
]
},
{
"name": "Tools",
"elements": [
{
"name": "Section",
"type": "Button",
"enabled": "true",
"mode": "toggle",
"font": "icon-font,antialias,18",
"text": "e",
"callback": ""
},
{
"name": "Measure",
"type": "Button",
"enabled":"true",
"mode": "toggle",
"font": "icon-font,antialias,18",
"text": "7",
"callback": "",
"subMenu": "SideMenu",
"SideMenuSections": [
{
"sections": [
{
"name": "Stuff",
"elements": [
{
"name": "PointToPoint",
"type": "Button",
"enabled":"true",
"mode": "radio",
"allowDeselect": true,
"radioGroup": "NaMeasure",
"font": "icon-font,antialias,18",
"text": "K",
"callback": ""
},
{
"name": "Path",
"type": "Button",
"enabled":"true",
"mode": "radio",
"allowDeselect": true,
"radioGroup": "NaMeasure",
"font": "icon-font,antialias,18",
"text": "Z",
"callback": ""
},
{
"name": "DeleteMeasure",
"type": "Button",
"enabled":"true",
"mode": "radio",
"allowDeselect": true,
"radioGroup": "NaMeasure",
"font": "icon-font,antialias,18",
"text": "i",
"callback": ""
},
{
"name": "Units",
"type": "Button",
"enabled":"true",
"mode": "multiState",
"states": [
"mm",
"m",
"'",
"ft"
],
"font": "segoe ui,antialias,14",
"text": "mm",
"callback": ""
},
{
"name": "Lock",
"type": "Button",
"enabled":"true",
"mode": "multiState",
"states": [
"Y",
"Xz",
"-"
],
"font": "segoe ui,antialias,14",
"text": "Y",
"callback": ""
},
{
"name": "DeleteAll",
"type": "Button",
"enabled":"true",
"mode": "push",
"font": "icon-font,antialias,18",
"text": "R",
"callback": ""
}
]
}
]
}
]
},
{
"name": "Clipping",
"type": "Button",
"enabled":"true",
"mode": "toggle",
"font": "icon-font,antialias,18",
"text": "8",
"callback": ""
}
]
},
{
"name": "MarkupAndNotes",
"elements": [
{
"name": "Screenshot",
"type": "Button",
"enabled":"true",
"mode": "push",
"font": "icon-font,antialias,18",
"text": "B",
"callback": ""
},
{
"name": "Gallery",
"type": "Button",
"enabled":"true",
"mode": "push",
"font": "icon-font,antialias,18",
"text": "I",
"callback": ""
}
]
},
{
"name": "Settings",
"elements": [
{
"name": "View",
"type": "Button",
"enabled":"true",
"mode": "toggle",
"subMenu": "Labels",
"font": "icon-font,antialias,18",
"text": ".",
"callback": "",
"LabelsSections": [
{
"Section":[
{
"name": "X-Ray",
"type": "Button",
"enabled":"true",
"mode": "toggle",
"font": "segoe ui,antialias,14",
"text": "X-Ray",
"callback": "-Ray"
},
{
"name": "Shadows",
"type": "Button",
"enabled":"true",
"mode": "toggle",
"font": "segoe ui,antialias,14",
"text": "Shadows",
"callback": ""
},
{
"name": "Enviornment",
"type": "Button",
"enabled":"true",
"mode": "toggle",
"font": "segoe ui,antialias,14",
"text": "Enviornment",
"callback": ""
},
{
"name": "Laser",
"type": "Button",
"enabled":"true",
"mode": "toggle",
"font": "segoe ui,antialias,14",
"text": "Laser",
"callback": ""
},
{
"name": "InsulationOB",
"type": "Button",
"enabled":"true",
"mode": "toggle",
"font": "segoe ui,antialias,14",
"text": "InsulationOB",
"callback": ""
}
]
}
]
}
]
}
]
}