Exemplo n.º 1
0
        /***************************************************/

        private static void CopyCharacteristics(this Material toMaterial, BH.oM.Physical.Materials.IMaterialProperties fromMaterial)
        {
            BH.Engine.Reflection.Compute.RecordWarning(String.Format("Copying characteristics from BHoM material fragment of type {0} is currently not supported. BHoM_Guid: {1}", toMaterial.GetType().Name, fromMaterial.BHoM_Guid));
        }
Exemplo n.º 2
0
        /***************************************************/

        public static void ICopyCharacteristics(this Material toMaterial, BH.oM.Physical.Materials.IMaterialProperties fromMaterial)
        {
            CopyCharacteristics(toMaterial as dynamic, fromMaterial as dynamic);
        }
Exemplo n.º 3
0
        /***************************************************/
        /****       Fallback methods - Materials        ****/
        /***************************************************/

        private static void CopyCharacteristics(this BH.oM.Physical.Materials.IMaterialProperties toMaterial, Material fromMaterial)
        {
            BH.Engine.Reflection.Compute.RecordWarning(String.Format("Copying characteristics to BHoM material fragment of type {0} is currently not supported. Revit ElementId: {1}", toMaterial.GetType().Name, fromMaterial.Id.IntegerValue));
        }