Index: DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs
===================================================================
diff -u -r6587 -r6660
--- DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs (.../FillXmlInputFromDamUi.cs) (revision 6587)
+++ DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/DamEngineIo/FillXmlInputFromDamUi.cs (.../FillXmlInputFromDamUi.cs) (revision 6660)
@@ -32,7 +32,6 @@
using Deltares.Geotechnics.Soils;
using Deltares.Geotechnics.SurfaceLines;
using Deltares.Standard.Logging;
-using DGeoSuite.Common;
using Sensor = Deltares.Dam.Data.Sensors.Sensor;
using SensorLocation = Deltares.DamEngine.Io.XmlInput.SensorLocation;
using Soil = Deltares.Geotechnics.Soils.Soil;
Index: DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Dike.cs
===================================================================
diff -u -r6651 -r6660
--- DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Dike.cs (.../Dike.cs) (revision 6651)
+++ DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/Dike.cs (.../Dike.cs) (revision 6660)
@@ -268,7 +268,9 @@
///
/// Add to traffic load degree of consolidation as read from the csv-file to the dike soils.
- /// For soil profile 1D, only the soils used by the soil profiles are added.
+ /// All the soils are added (not only the soils used by the soil profiles) because the Dike and Shoulder embankment materials
+ /// are not yet present in SoilList. In FillXmlInputFromDamUi.TransferTrafficLoadDegreeOfConsolidation, only the
+ /// soils actually used will be transferred.
///
public void FillTrafficLoadDegreeOfConsolidationFromCsvFile(IEnumerable soilRecords)
{
@@ -279,11 +281,6 @@
foreach (CsvImporterSoils.SoilRecord soilRecord in soilRecords)
{
- if (soilList.Soils.Count > 0 && soilList.GetSoilByName(soilRecord.SoilName) == null)
- {
- continue;
- }
-
var degreeOfConsolidation = new TrafficLoadDegreeOfConsolidation
{
SoilName = soilRecord.SoilName