Closed pawelbaran closed 3 years ago
LookupParameterDouble by default involves unit conversion to SI. Therefore, any time an explicit convert to SI is implemented in MEP converts, the units will be converted twice, resulting in wrong values, e.g. here: https://github.com/BHoM/Revit_Toolkit/blob/f7507830f1bdf7336702851bd0ee39d53fcb6c6b/Revit_Core_Engine/Query/PipeSectionProperty.cs#L52
LookupParameterDouble
Whole code base added in #833 needs to be inspected with this regard.
FYI @FraserGreenroyd @kayleighhoude
Fixed with #847.
Description:
LookupParameterDouble
by default involves unit conversion to SI. Therefore, any time an explicit convert to SI is implemented in MEP converts, the units will be converted twice, resulting in wrong values, e.g. here: https://github.com/BHoM/Revit_Toolkit/blob/f7507830f1bdf7336702851bd0ee39d53fcb6c6b/Revit_Core_Engine/Query/PipeSectionProperty.cs#L52Whole code base added in #833 needs to be inspected with this regard.
FYI @FraserGreenroyd @kayleighhoude