thankyou Doddy for your time on my problem, i have run the program again and it reverts back to the starting point, i will try and send you the code, regards mike.3D Roughing pike.txt