Index: DamClients/DamUI/branches/DamUI 19.1/src/DamClientsLibrary/Deltares.Dam.Data/CsvExportData.cs =================================================================== diff -u -r3571 -r3572 --- DamClients/DamUI/branches/DamUI 19.1/src/DamClientsLibrary/Deltares.Dam.Data/CsvExportData.cs (.../CsvExportData.cs) (revision 3571) +++ DamClients/DamUI/branches/DamUI 19.1/src/DamClientsLibrary/Deltares.Dam.Data/CsvExportData.cs (.../CsvExportData.cs) (revision 3572) @@ -1782,6 +1782,7 @@ } [Browsable(false)] + [XmlIgnore] public SoilProfile1D SoilProfile { get { return soilProfile; } @@ -1827,10 +1828,26 @@ /// The redesigned surface line2. /// [Browsable(false)] + [XmlIgnore] public SurfaceLine2 RedesignedSurfaceLine2 { get { + if (redesignedSurfaceLine == null) + { + if (File.Exists(PipingResultFile)) + { + DataEventPublisher.InvokeWithoutPublishingEvents(() => + { + var xmlDeSerializer = new Deltares.Standard.IO.Xml.XmlDeserializer(); + var classFactory = new DefaultClassFactory(); + var soilProfileWithSurfaceLine = + (CsvExportSoilProfileWithSurfaceLine)xmlDeSerializer.XmlDeserialize(PipingResultFile, + typeof(CsvExportSoilProfileWithSurfaceLine), classFactory); + redesignedSurfaceLine = soilProfileWithSurfaceLine.SurfaceLine; + }); + } + } return redesignedSurfaceLine; } set