Thank you. If you add the following section after the "properties" section, you should get values that you can select from in the dropdown.
Note that the G17 property definition allows a new "Unsupported" value, along with ZX and XZ. If you change the default value of that property in "properties", then your OK button should be enabled right away. This would look like this:
G17: "Unsupported" // set to "ZX" (right handed) or "XZ" (left handed) in accordance with your control setting - byte 79 - G18 plane select: XZ=0, ZX=1
Jeff
[Add the following below the "properties" section]
// user-defined property definitions
propertyDefinitions = {
writeMachine: {title:"Write machine", description:"Output the machine settings in the header of the code.", group:0, type:"boolean"},
writeTools: {title:"Write tool list", description:"Output a tool list in the header of the code.", group:0, type:"boolean"},
preloadTool: {title:"Preload tool", description:"Preloads the next tool at a tool change (if any).", type:"boolean"},
showSequenceNumbers: {title:"Use sequence numbers", description:"Use sequence numbers for each block of outputted code.", group:1, type:"boolean"},
sequenceNumberStart: {title:"Start sequence number", description:"The number at which to start the sequence numbers.", group:1, type:"integer"},
sequenceNumberIncrement: {title:"Sequence number increment", description:"The amount by which the sequence number is incremented by in each block.", group:1, type:"integer"},
optionalStop: {title:"Optional stop", description:"Outputs optional stop code during when necessary in the code.", type:"boolean"},
separateWordsWithSpace: {title:"Separate words with space", description:"Adds spaces between words if 'yes' is selected.", type:"boolean"},
useRadius: {title:"Radius arcs", description:"If yes is selected, arcs are outputted using radius values rather than IJK.", type:"boolean"},
showNotes: {title:"Show notes", description:"Writes operation notes as comments in the outputted code.", type:"boolean"},
G17: {title:"G17 Plane", description:"set to \"ZX\" (right handed) or \"XZ\" (left handed) in accordance with your control setting - byte 79 - G17 plane select: XZ=0, ZX=1", type:"enum", values:["Unsupported", "ZX", "XZ"]}
};