diff --git a/MidasCivil_Adapter/Convert/ToBHoM/Properties/ToMaterials.cs b/MidasCivil_Adapter/Convert/ToBHoM/Properties/ToMaterials.cs index eeed4efb..235385dc 100644 --- a/MidasCivil_Adapter/Convert/ToBHoM/Properties/ToMaterials.cs +++ b/MidasCivil_Adapter/Convert/ToBHoM/Properties/ToMaterials.cs @@ -41,7 +41,7 @@ public static IMaterialFragment ToMaterial(this string material, string forceUni string name = delimited[2].Trim(); IMaterialFragment bhomMaterial = null; - bhomMaterial = (IMaterialFragment)Engine.Library.Query.Match("Materials", name); + bhomMaterial = (IMaterialFragment)Engine.Library.Query.Match("Structure\\Materials", name); double density = 0; @@ -128,7 +128,7 @@ public static IMaterialFragment ToMaterial(this string material, string forceUni else { Engine.Base.Compute.RecordWarning("Material not found in BHoM Library: S355 Steel properties assumed"); - bhomMaterial = (IMaterialFragment)BH.Engine.Library.Query.Match("Materials", "S355"); + bhomMaterial = (IMaterialFragment)BH.Engine.Library.Query.Match("Structure\\Materials", "S355"); } break;