/*
 * This file was generated by Oasys Ltd. Do not edit it unless you know what you're doing!
 */

export { gui };
Options.max_widgets = 100000;

var gui = {};    /* Global GUI object */

(function () {

/* START_GUIBUILDER */
    var json_string = String.raw`
{
 "type": "GUI",
 "version": 1,
 "theme": "THEME_CURRENT",
 "windows": [
  {
   "name": "wdw_occupant",
   "type": "Main",
   "title": "Occupant",
   "left": 0.050000,
   "right": 0.500000,
   "top": 0.900000,
   "bottom": 0.400000,
   "height": 0.000000,
   "width": 0.000000,
   "xmax": 250,
   "ymax": 250,
   "active": true,
   "background": "DEFAULT",
   "keepOnTop": true,
   "onAfterShow": "",
   "onBeforeShow": "",
   "onClose": "",
   "resize": "LEFT | RIGHT | TOP | BOTTOM | REDUCE",
   "showClose": true,
   "widgets": [
    {
     "name": "helpBtn",
     "type": "Button",
     "left": 1,
     "right": 2,
     "top": 1,
     "bottom": 2,
     "text": "help",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_GENERIC",
     "foreground": "BLACK",
     "justify": "RIGHT",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "pushed": false,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false,
     "toggle": false
    },
    {
     "name": "L1",
     "type": "Label",
     "left": 1,
     "right": 52,
     "top": 29,
     "bottom": 35,
     "text": "Occupant Name",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_LABEL",
     "foreground": "BLACK",
     "justify": "LEFT",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "cbx_occupant_name",
     "type": "Combobox",
     "left": 53,
     "right": 167,
     "top": 29,
     "bottom": 35,
     "text": "",
     "active": true,
     "background": "WHITE",
     "category": "CATEGORY_LABEL_POPUP",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "Occupant name",
     "onChange": "",
     "onClick": "",
     "onTimer": "",
     "timerDelay": 1000,
     "timerRepeat": false
    },
    {
     "name": "L2",
     "type": "Label",
     "left": 1,
     "right": 52,
     "top": 36,
     "bottom": 42,
     "text": "Position",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_LABEL",
     "foreground": "BLACK",
     "justify": "LEFT",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "cbx_occupant_position",
     "type": "Combobox",
     "left": 53,
     "right": 167,
     "top": 36,
     "bottom": 42,
     "text": "",
     "active": true,
     "background": "WHITE",
     "category": "CATEGORY_LABEL_POPUP",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "Position",
     "onChange": "",
     "onClick": "",
     "onTimer": "",
     "timerDelay": 1000,
     "timerRepeat": false
    },
    {
     "name": "btn_update_occupant",
     "type": "Button",
     "left": 1,
     "right": 21,
     "top": 1,
     "bottom": 7,
     "text": "Update",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_APPLY",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "pushed": false,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false,
     "toggle": false
    },
    {
     "name": "L5",
     "type": "Label",
     "left": 1,
     "right": 167,
     "top": 22,
     "bottom": 28,
     "text": "Occupant",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_TITLE",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "L13",
     "type": "Label",
     "left": 1,
     "right": 167,
     "top": 43,
     "bottom": 49,
     "text": "Entity IDs",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_TITLE",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "L14",
     "type": "Label",
     "left": 1,
     "right": 52,
     "top": 57,
     "bottom": 63,
     "text": "Entity Reference Option",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_LABEL",
     "foreground": "BLACK",
     "justify": "LEFT",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "L15",
     "type": "Label",
     "left": 1,
     "right": 52,
     "top": 50,
     "bottom": 56,
     "text": "Offset for IDs",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_LABEL",
     "foreground": "BLACK",
     "justify": "LEFT",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "btn_use_dbhistitle",
     "type": "Button",
     "left": 100,
     "right": 167,
     "top": 57,
     "bottom": 63,
     "text": "Use Database History Titles First",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_GENERIC",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "Use this option to use the database history titles (stored in the template occupant file). Note that the number id will be used as a fallback if no history title is defined for an entity",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "pushed": false,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false,
     "toggle": false
    },
    {
     "name": "txt_entity_offset",
     "type": "Textbox",
     "left": 53,
     "right": 99,
     "top": 50,
     "bottom": 56,
     "text": "0",
     "active": true,
     "background": "DARKBLUE",
     "category": "CATEGORY_TEXT_BOX",
     "foreground": "WHITE",
     "justify": "LEFT",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "Offset for IDs",
     "onChange": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "popupDirection": "RIGHT",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "textHidden": false,
     "timerRepeat": false
    },
    {
     "name": "btn_cancel_occupant",
     "type": "Button",
     "left": 147,
     "right": 167,
     "top": 1,
     "bottom": 7,
     "text": "Cancel",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_APPLY",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "pushed": false,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false,
     "toggle": false
    },
    {
     "name": "L6",
     "type": "Label",
     "left": 1,
     "right": 20,
     "top": 15,
     "bottom": 21,
     "text": "Supplier",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_LABEL",
     "foreground": "BLACK",
     "justify": "LEFT",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "cbx_occupant_supplier",
     "type": "Combobox",
     "left": 21,
     "right": 49,
     "top": 15,
     "bottom": 21,
     "text": "",
     "active": true,
     "background": "WHITE",
     "category": "CATEGORY_LABEL_POPUP",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "Supplier",
     "onChange": "",
     "onClick": "",
     "onTimer": "",
     "timerDelay": 1000,
     "timerRepeat": false
    },
    {
     "name": "L7",
     "type": "Label",
     "left": 50,
     "right": 69,
     "top": 15,
     "bottom": 21,
     "text": "Product",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_LABEL",
     "foreground": "BLACK",
     "justify": "LEFT",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "cbx_occupant_product",
     "type": "Combobox",
     "left": 70,
     "right": 98,
     "top": 15,
     "bottom": 21,
     "text": "",
     "active": true,
     "background": "WHITE",
     "category": "CATEGORY_LABEL_POPUP",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "Product",
     "onChange": "",
     "onClick": "",
     "onTimer": "",
     "timerDelay": 1000,
     "timerRepeat": false
    },
    {
     "name": "L8",
     "type": "Label",
     "left": 99,
     "right": 124,
     "top": 15,
     "bottom": 21,
     "text": "Anthropometry",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_LABEL",
     "foreground": "BLACK",
     "justify": "LEFT",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "cbx_occupant_anthropometry",
     "type": "Combobox",
     "left": 125,
     "right": 167,
     "top": 15,
     "bottom": 21,
     "text": "",
     "active": true,
     "background": "WHITE",
     "category": "CATEGORY_LABEL_POPUP",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "Anthropometry",
     "onChange": "",
     "onClick": "",
     "onTimer": "",
     "timerDelay": 1000,
     "timerRepeat": false
    },
    {
     "name": "btn_save_occupant",
     "type": "Button",
     "left": 22,
     "right": 62,
     "top": 1,
     "bottom": 7,
     "text": "Save Occupant",
     "active": false,
     "background": "DEFAULT",
     "category": "CATEGORY_APPLY",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "pushed": false,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false,
     "toggle": false
    },
    {
     "name": "btn_use_id_num",
     "type": "Button",
     "left": 53,
     "right": 99,
     "top": 57,
     "bottom": 63,
     "text": "Use ID numbers + offset",
     "active": false,
     "background": "DEFAULT",
     "category": "CATEGORY_GENERIC",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "pushed": false,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false,
     "toggle": false
    },
    {
     "name": "L3",
     "type": "Label",
     "left": 1,
     "right": 167,
     "top": 8,
     "bottom": 14,
     "text": "Occupant Filters",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_TITLE",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false
    },
    {
     "name": "btn_get_include_offset",
     "type": "Button",
     "left": 100,
     "right": 167,
     "top": 50,
     "bottom": 56,
     "text": "Get offset from include transform",
     "active": true,
     "background": "DEFAULT",
     "category": "CATEGORY_GENERIC",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "select the master include which contains the occupant. (select only one. If multiple are selected only the first will be considered)",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "pushed": false,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false,
     "toggle": false
    },
    {
     "name": "btn_convert_ids_to_titles",
     "type": "Button",
     "left": 63,
     "right": 103,
     "top": 1,
     "bottom": 7,
     "text": "Convert IDs to Titles",
     "active": false,
     "background": "DEFAULT",
     "category": "CATEGORY_APPLY",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "pushed": false,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false,
     "toggle": false
    },
    {
     "name": "btn_convert_titles_to_ids",
     "type": "Button",
     "left": 104,
     "right": 144,
     "top": 1,
     "bottom": 7,
     "text": "Convert Titles to IDs",
     "active": false,
     "background": "DEFAULT",
     "category": "CATEGORY_APPLY",
     "foreground": "BLACK",
     "justify": "CENTRE",
     "hover": "",
     "lineWidth": 1,
     "macroTag": "",
     "onClick": "",
     "onPopup": "",
     "onTimer": "",
     "timerDelay": 1000,
     "fontSize": 8,
     "monospace": false,
     "xResolution": 100,
     "yResolution": 100,
     "pushed": false,
     "popupDirection": "BOTTOM",
     "popupSymbol": true,
     "popupWindow": "<no popup>",
     "timerRepeat": false,
     "toggle": false
    }
   ]
  },
  {
   "name": "popup_select_entities",
   "type": "Popup",
   "persistent": false,
   "widgets": [
   ]
  },
  {
   "name": "popup_pick_node",
   "type": "Popup",
   "persistent": false,
   "widgets": [
   ]
  },
  {
   "name": "popup_select_parts",
   "type": "Popup",
   "persistent": false,
   "widgets": [
   ]
  }
 ]
}`
/* END_GUIBUILDER */

    gui = Window.BuildGUIFromString(json_string);

})();
