Skip to content

Commit

Permalink
Tool Select Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
will1742 committed Oct 14, 2021
1 parent d7b06b9 commit 41865d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Haas_Gantry_BIDC/Bechtel SR.cps
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion Haas_Mills_BIDC/Bechtel Milling.cps
Original file line number Diff line number Diff line change
Expand Up @@ -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++){
Expand Down

0 comments on commit 41865d4

Please sign in to comment.