Page 1 of 1

Re: Bolt Circle Wizard

PostPosted: Fri Jun 15, 2018 2:28 pm
by Dan911
Hi Terry nice job! Since posting as learning templates I hope you don't mind me making a suggestion. When I first tried this wizard I got and Exception because I didn't have a "Gcodes" folder created in UCCNC that wizard is writing to. By adding code below to the beginning of macro will fix.


Code: Select all
string Path2 = Application.StartupPath + @"\Gcodes";
if (!System.IO.Directory.Exists(Path2)) { System.IO.Directory.CreateDirectory(Path2); }