Community
Solved by PRAMET-DORMERR. Go to Solution.
Solved by cfastNJWK6. Go to Solution.
The following macro code will delete any toolpath that has "_#" (underscore then number).
STRING LIST $Copies = {"_1", "_2", "_3", "_4", "_5", "_6", "_7", "_8", "_9"}
FOREACH $tp IN folder('Toolpath') {
INT $Length = length($tp.Name)
STRING $LastTwo = substring($tp.Name, ($length - 2), $length)
IF member($Copies, $LastTwo) {
DELETE TOOLPATH $tp.Name
}
}
MESSAGE INFO "Done."
Can't find what you're looking for? Ask the community or share your knowledge.