diff --git a/Haas_Gantry_BIDC/Bechtel SR.cps b/Haas_Gantry_BIDC/Bechtel SR.cps index 482b246..ee521e3 100644 --- a/Haas_Gantry_BIDC/Bechtel SR.cps +++ b/Haas_Gantry_BIDC/Bechtel SR.cps @@ -927,7 +927,7 @@ function onOpen() { // parse string for specific tools to load if (getProperty("toolsToLoad") != "") { // get list of numbers - let toolNumArray = getProperty("toolsToLoad").split(','); + let toolNumArray = getProperty("toolsToLoad").toString().split(','); // iterate through and fill ranges for (var i = 0; i < toolNumArray.length; i++){ toolNumArray[i] = toolNumArray[i].trim(); diff --git a/Haas_Mills_BIDC/Bechtel Milling.cps b/Haas_Mills_BIDC/Bechtel Milling.cps index 7d911a5..bd3d7f2 100644 --- a/Haas_Mills_BIDC/Bechtel Milling.cps +++ b/Haas_Mills_BIDC/Bechtel Milling.cps @@ -1368,7 +1368,7 @@ function onOpen() { // parse string for specific tools to load if (getProperty("toolsToLoad") != "") { // get list of numbers - let toolNumArray = getProperty("toolsToLoad").split(','); + let toolNumArray = getProperty("toolsToLoad").toString().split(','); // iterate through and fill ranges for (var i = 0; i < toolNumArray.length; i++){