DIALOGS MESSAGE OFF DIALOGS ERROR OFF INT b =1 FOREACH c IN folder('TOOLPATH') { STRING q= c.Tool.Diameter STRING p= c.Tool.TipRadius STRING jc= c.Tool.HolderName REAL sc= c.Tool.Overhang REAL rc= c.Tool.Length STRING j= c.Thickness STRING z= c.AxialThickness if $c.UseAxialThickness ==1 { STRING d = b+"-"+"D"+q+"R"+p+"("+j+"/"+z+")"+jc+"_"+"L"+sc+"-"+rc rename TOOLPATH $c.Name $d } if $c.UseAxialThickness ==0 { STRING d = b+"-"+"D"+q+"R"+p+"("+j+"/"+j+")"+jc+"_"+"L"+sc+"-"+rc rename TOOLPATH $c.Name $d } $b=b+1 } DIALOGS MESSAGE ON DIALOGS ERROR ON