/// <summary> /// Create NC Task in solution /// </summary> /// <returns></returns> public void createNcTask() { try { NcConfig.CreateChild("NC-Task 1", 1); } catch { throw new ApplicationException("Unable to create NC Task"); } }
/// <summary> /// Remove NC Task and all axes from solution /// </summary> /// <returns></returns> public Boolean removeNcTask() { try { NcConfig.DeleteChild(NcConfig.Child[1].Name); NcConfig = null; Axes = null; return(true); } catch { return(false); } }