hi i would like to know what to modify in my post to make it output the sequence number to match the tool # of my custom tool library
here is an example of the format that i want
T20
N2700(SR32 FACE MILL) (WERE 00 IS THE SEQUENCE AND 27 IS THE TOOL #)
(ROUGH PIPE)
G0G90G55B0.S795M3
G00X-8.225Y13.55
G43H27D0Z3.5 (TOOL #)
G1Z3.365F24.
M98P257L25
G0G90Z10.
N2701(SR32 FACE MILL)(WERE 01 IS THE SEQUENCE AND 27 IS THE TOOL #)
(ROUGH PIPE)
G0G90G55B180.S795M3
G00X-8.225Y13.55
G43H27D0Z3.5 (TOOL #)
G1Z3.365F24.
M98P257L25
G0G90Z10.
M98P5
T4
N2000(O3 CHAMFER)
(CHAMFER ARROUD PIPE HOLE)
G0G90G55B0.S2000M3
X-5.4063.Y10.85
G43H20D0Z15.
Z3.49
G1Z3.233F20.
Y10.25
G3X5.4063R5.4063
G1Y10.85
X5.25
Y10.25
G2X-5.25R5.25
G1Y10.85
G0Z15.
M01
M98P5
thanks for the help