Index: Ringtoets/Piping/src/Ringtoets.Piping.Plugin/FileImporter/StochasticSoilModelUpdateData.cs =================================================================== diff -u -r563b2c1126e515380a0ec7e2215bf07637445588 -r0970881ada96a68e26a4453b25b3d7b6bd64479d --- Ringtoets/Piping/src/Ringtoets.Piping.Plugin/FileImporter/StochasticSoilModelUpdateData.cs (.../StochasticSoilModelUpdateData.cs) (revision 563b2c1126e515380a0ec7e2215bf07637445588) +++ Ringtoets/Piping/src/Ringtoets.Piping.Plugin/FileImporter/StochasticSoilModelUpdateData.cs (.../StochasticSoilModelUpdateData.cs) (revision 0970881ada96a68e26a4453b25b3d7b6bd64479d) @@ -24,6 +24,7 @@ using System.Linq; using Core.Common.Base; using log4net; +using Ringtoets.Common.Service; using Ringtoets.Piping.Data; using Ringtoets.Piping.Service; @@ -130,10 +131,14 @@ } foreach (StochasticSoilProfile updatedProfile in difference.UpdatedProfiles) { - affectedObjects.AddRange(failureMechanism.Calculations - .Cast() - .Select(c => c.InputParameters) - .Where(i => ReferenceEquals(i.StochasticSoilProfile, updatedProfile))); + IEnumerable pipingInputs = failureMechanism.Calculations + .Cast() + .Where(c => ReferenceEquals(c.InputParameters.StochasticSoilProfile, updatedProfile)); + foreach (PipingCalculation calculation in pipingInputs) + { + affectedObjects.AddRange(RingtoetsCommonDataSynchronizationService.ClearCalculationOutput(calculation)); + affectedObjects.Add(calculation.InputParameters); + } } return affectedObjects; }