| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Reflection; |
| | | using DisplayUnitType = Autodesk.Revit.DB.DisplayUnitType; |
| | | |
| | | namespace HStation.RevitDev.RevitDataExport.Utility |
| | | { |
| | |
| | | if (obj == null) return null; |
| | | try |
| | | { |
| | | //return UnitUtils.ConvertFromInternalUnits(Convert.ToDouble(obj), DisplayUnitType.DUT_MEGAPASCALS); |
| | | return UnitUtils.ConvertFromInternalUnits(Convert.ToDouble(obj), UnitTypeId.Megapascals); |
| | | return UnitUtils.ConvertFromInternalUnits(Convert.ToDouble(obj), DisplayUnitType.DUT_MEGAPASCALS); |
| | | //return UnitUtils.ConvertFromInternalUnits(Convert.ToDouble(obj), UnitTypeId.Megapascals); |
| | | } |
| | | catch (Exception ex) |
| | | { |