diff --git a/ExportDXF/ExportDXF.csproj b/ExportDXF/ExportDXF.csproj index ac5f91e..619784d 100644 --- a/ExportDXF/ExportDXF.csproj +++ b/ExportDXF/ExportDXF.csproj @@ -22,7 +22,7 @@ false false true - 5 + 6 1.0.0.%2a false true diff --git a/ExportDXF/Forms/MainForm.cs b/ExportDXF/Forms/MainForm.cs index 23654bf..53341c7 100644 --- a/ExportDXF/Forms/MainForm.cs +++ b/ExportDXF/Forms/MainForm.cs @@ -399,7 +399,10 @@ namespace ExportDXF.Forms partsSheet.Cells[row, 2].Value = item.Quantity; partsSheet.Cells[row, 3].Value = item.Description; partsSheet.Cells[row, 4].Value = item.PartNo; - partsSheet.Cells[row, 5].Value = item.Thickness; + + if (item.Thickness > 0) + partsSheet.Cells[row, 5].Value = item.Thickness; + partsSheet.Cells[row, 6].Value = item.Material; } diff --git a/ExportDXF/Templates/BomTemplate.xlsx b/ExportDXF/Templates/BomTemplate.xlsx index 0cf6773..7804cfa 100644 Binary files a/ExportDXF/Templates/BomTemplate.xlsx and b/ExportDXF/Templates/BomTemplate.xlsx differ