Block Numbers Resequence
Posted: Thu May 03, 2001 11:33 am
I have block numbers that looks like this
N0010 R470=1 L870
N0020 (G54)R50=0R51=163.R52=0R53=1L798
N0030 G00 G40 G54 G80 G90
N0040 L861
N0050 M01
I use the find and replace functions to resequence the block number
Find : \N[0-9][0-9][0-9][0-9]
Replace : \N\i(5,5)
N5 R470=1 L870
N10 (G54)R50=0R51=163.R52=0R53=1L798
N15 G00 G40 G54 G80 G90
N20 L861
N25 M01
The problem I'm having is keeping the leading zeros.
(ie. N0005 and not N5)
I've tried \N\i(0005,0005), same result
Any Ideas !!!
Thanks
N0010 R470=1 L870
N0020 (G54)R50=0R51=163.R52=0R53=1L798
N0030 G00 G40 G54 G80 G90
N0040 L861
N0050 M01
I use the find and replace functions to resequence the block number
Find : \N[0-9][0-9][0-9][0-9]
Replace : \N\i(5,5)
N5 R470=1 L870
N10 (G54)R50=0R51=163.R52=0R53=1L798
N15 G00 G40 G54 G80 G90
N20 L861
N25 M01
The problem I'm having is keeping the leading zeros.
(ie. N0005 and not N5)
I've tried \N\i(0005,0005), same result
Any Ideas !!!
Thanks