Skip to content

Commit 2af772c

Browse files
KalleEdstroempeterjamesnugent
authored andcommitted
Changed the way SurfaceProperty is sent to MidasCivil
1 parent 44cd329 commit 2af772c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MidasCivil_Adapter/Convert/ToMidasCivil/Properties/FromSurfaceProperty.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private static string CreateSurfaceProfile(ConstantThickness bhomSurfaceProperty
7272
break;
7373
default:
7474
midasSurfaceProperty =
75-
bhomSurfaceProperty.AdapterId<string>(typeof(MidasCivilId)) + ",VALUE,1,Yes," +
75+
bhomSurfaceProperty.AdapterId<string>(typeof(MidasCivilId)) + ",VALUE," + new string(bhomSurfaceProperty.DescriptionOrName().Replace(",", "").Take(groupCharacterLimit).ToArray()) + ",Yes," +
7676
bhomSurfaceProperty.Thickness.LengthFromSI(lengthUnit) + ",0,No,0,0";
7777
break;
7878
}

0 commit comments

Comments
 (0)