Esempio n. 1
0
 /// <summary>
 /// Удалить обработку
 /// </summary>
 private void DeleteProcessing()
 {
     if (ActionGenerator.IsCalculation)
     {
         ActionGenerator.Abort();
         AutocadUtils.ShowError("Расчет обработки прерван");
         return;
     }
     if (ProcessingActions == null)
     {
         return;
     }
     AutocadUtils.DeleteCurves(ProcessingActions.ConvertAll(p => p.ObjectId));
     AutocadUtils.DeleteCurves(ProcessingActions.ConvertAll(p => p.DirectObjectId));
     AutocadUtils.DeleteCurves(ProcessingActions.ConvertAll(p => p.ToolObjectId));
     ProcessingActions.Clear();
     ProcessingForm.ShowData(ProcessingActions);
 }