hello Sir,
we require micro for rename toolpath as per below program sequence.
program sequence
O2001_D16 R0.4 BULL L100 ROUGH
O2002_D12 FEM L50 REST ROUGH
O2003_D6 FEM L42 REST ROUGH
O2007_D6 FEM L42 FLAT FINISH
Solved! Go to Solution.
Solved by Sudhira. Go to Solution.
Hi,
Thanks for posting your query.
I have a macro for rename toolpath but not exactly match your requirements. But you can manage with this macro. Hope this works for you.
Thank you and have a great day!
HELLO,THANKS FOR YOUR UPDATES
I HAVE MAKE NEW MICRO AS PER BELOW
int $counter = 1001
string $new_name = ""
PRINT $f_name
$counter = INPUT "Enter start counter value"
string prompt = "Enter_a_P-R-E-F-I-X"
FOREACH $tp IN folder('toolpath') {
Activate Toolpath $tp.Name
$new_name = "O"+ $counter + "_"+ $toolpath.name
RENAME toolpath $toolpath.name $new_name
$counter = $counter + 1
}
Can't find what you're looking for? Ask the community or share your knowledge.