diff --git a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/VehicleInformationFile_0_1/PrimaryComponents/VIFIepcType.cs b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/VehicleInformationFile_0_1/PrimaryComponents/VIFIepcType.cs index d10a6ff5c9d49c814d778293eba2fddffc2a0fc1..8192274852f44802ff28677a88d589fac0ccddf0 100644 --- a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/VehicleInformationFile_0_1/PrimaryComponents/VIFIepcType.cs +++ b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/VehicleInformationFile_0_1/PrimaryComponents/VIFIepcType.cs @@ -182,7 +182,7 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF } result.Add(new XElement(_vif + XMLNames.DragCurve, - new XAttribute(XMLNames.DragCurve_Gear, dragCurve.Gear.Value), + dragCurves.Count == 1 && !dragCurve.Gear.HasValue ? null : new XAttribute(XMLNames.DragCurve_Gear, dragCurve.Gear.Value), entries)); }