Compare commits

...

2 Commits

Author SHA1 Message Date
AJ
b693d8a092 Updated submodule EtchBendLines 2021-03-08 22:39:23 -05:00
AJ
96e54a686b Renamed ExportBomToExcel to BomToExcel 2021-03-05 20:42:20 -05:00
4 changed files with 6 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ using System.IO;
namespace ExportDXF
{
public class ExportBomToExcel
public class BomToExcel
{
public string TemplatePath
{

View File

@@ -92,7 +92,7 @@
<Compile Include="BendOrientation.cs" />
<Compile Include="Bounds.cs" />
<Compile Include="DrawingInfo.cs" />
<Compile Include="ExportBomToExcel.cs" />
<Compile Include="BomToExcel.cs" />
<Compile Include="Extensions.cs" />
<Compile Include="ItemExtractor.cs" />
<Compile Include="Forms\ViewFlipDeciderComboboxItem.cs" />

View File

@@ -424,7 +424,7 @@ namespace ExportDXF.Forms
var bomName = drawingInfo != null ? string.Format("{0} {1} BOM", drawingInfo.JobNo, drawingInfo.DrawingNo) : "BOM";
var bomFile = Path.Combine(savePath, bomName + ".xlsx");
var excelReport = new ExportBomToExcel();
var excelReport = new BomToExcel();
excelReport.CreateBOMExcelFile(bomFile, items.ToList());
}
catch (Exception ex)
@@ -528,7 +528,8 @@ namespace ExportDXF.Forms
drawingModel.SaveAs(savePath);
EtchBendLines.Program.AddEtchLines(savePath);
var etcher = new EtchBendLines.Etcher();
etcher.AddEtchLines(savePath);
Print(partModel.GetTitle() + " - Saved to \"" + savePath + "\"", Color.Green);