/***************************************************/ internal static void UnknownStructuralAssetWarning(this BH.oM.Structure.MaterialFragments.IMaterialFragment material) { string message = "Revit Structural Asset could not be converted into BHoM material properties."; if (material != null) { message = string.Format("{0} BHoM Guid: {1}", message, material.BHoM_Guid); } BH.Engine.Reflection.Compute.RecordWarning(message); }
/***************************************************/ internal static void NullStructuralAssetWarning(this BH.oM.Structure.MaterialFragments.IMaterialFragment material) { string message = "Could not find Revit Structural Asset for BHoM Object."; if (material != null) { message = string.Format("{0} BHoM Guid: {1}", message, material.BHoM_Guid); } BH.Engine.Reflection.Compute.RecordWarning(message); }