From 41865d49fad4dedb79a86dedd5fc7c4cc97bf998 Mon Sep 17 00:00:00 2001 From: "Williams, Gavin J" Date: Thu, 14 Oct 2021 10:42:43 -0400 Subject: [PATCH] Tool Select Fix --- Haas_Gantry_BIDC/Bechtel SR.cps | 2 +- Haas_Mills_BIDC/Bechtel Milling.cps | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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++){