Closed peterjamesnugent closed 1 year ago
Because the version of MidasCivil does not have a naming attribute for the ConstantThickness, it cannot compare the names.
ConstantThickness
See test script.
The 1 in the line below changed to bhomSurfaceProperty.Name to allow comparing when CreateNonExisting.
1
bhomSurfaceProperty.Name
CreateNonExisting
midasSurfaceProperty = bhomSurfaceProperty.AdapterId<string>(typeof(MidasCivilId)) + ",VALUE,1,Yes," + bhomSurfaceProperty.Thickness.LengthFromSI(lengthUnit) + ",0,No,0,0"; break;
https://burohappold.sharepoint.com/:f:/r/sites/BHoM/02_Current/12_Scripts/01_Issue/BHoM/MidasCivil_Toolkit/%23361%20CreateNonExisting?csf=1&web=1&e=bg1t3p
Description:
Because the version of MidasCivil does not have a naming attribute for the
ConstantThickness
, it cannot compare the names.Steps to reproduce:
See test script.
Expected behaviour:
The
1
in the line below changed tobhomSurfaceProperty.Name
to allow comparing whenCreateNonExisting
.Test file(s):
https://burohappold.sharepoint.com/:f:/r/sites/BHoM/02_Current/12_Scripts/01_Issue/BHoM/MidasCivil_Toolkit/%23361%20CreateNonExisting?csf=1&web=1&e=bg1t3p