Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a Macro thx to you that renames all toolpath.
What i like to do is that the macro should jump over disc profile finishing strategie. Every other toolpath should be renamed. Is something like that possible.
String $New_Name = ""
Int $Index = 0
FOREACH tp IN FOLDER('toolpath') {
$Index = $Index + 1
$New_Name = $Index + " - " + $tp.Strategy + " - " + $tp.Tool.Name
IF $tp.Strategy == "drill" {
$New_Name = $Index + " - " + $tp.Strategy + " - " + $tp.FeatureSet.name + " - " + $tp.Tool.Name
RENAME Toolpath $tp.name $New_Name
} ELSE {
RENAME Toolpath $tp.name $New_Name
}
}
Solved! Go to Solution.