Ok thanks, that helped but how do I select just that selected setup toolpath?
In my previous macro I had
STRING TOOLPATHName=''
ENTITY LIST $Selected_Toolpath = INPUT ENTITY MULTIPLE TOOLPATH "Select Toolpaths For Sub Program List"
FOREACH $tp IN $Selected_Toolpath {
ACTIVATE TOOLPATH $tp
But now I have to change that to something else, I tried this but it goes through every toolpath not just the selected one
STRING LIST li = {}
FOREACH s IN folder('setup') {
FOREACH t IN components(s) {
int x = add_last(li, t.name)
}
}
STRING LIST tps = INPUT ENTITY MULTIPLE TOOLPATH "pick tps" "" $li
FOREACH $tps IN $li {
ACTIVATE TOOLPATH $tps
Intel Core i9 13900KF CPU
128 GB Kingston Beast DDR4 SDRAM
PNY RTX A2000 6GB Video Card
WD 1 TB SSD Hard Drive
Windows 11 Pro