diff --git a/src/RevitMechanicalSpecification/Models/Fillers/ElementParamUnitFiller.cs b/src/RevitMechanicalSpecification/Models/Fillers/ElementParamUnitFiller.cs index 89b0af593..90eb9f8a1 100644 --- a/src/RevitMechanicalSpecification/Models/Fillers/ElementParamUnitFiller.cs +++ b/src/RevitMechanicalSpecification/Models/Fillers/ElementParamUnitFiller.cs @@ -14,7 +14,6 @@ namespace RevitMechanicalSpecification.Models.Fillers { internal class ElementParamUnitFiller : ElementParamFiller { private readonly List _linearElements = new List() { - BuiltInCategory.OST_DuctCurves, BuiltInCategory.OST_PipeCurves, BuiltInCategory.OST_FlexDuctCurves, BuiltInCategory.OST_FlexPipeCurves, @@ -92,6 +91,11 @@ private string GetUnit(Element element) { } return Config.SquareUnit; } + + if(element.Category.IsId(BuiltInCategory.OST_DuctCurves)) { + return DefaultCheck(Config.SquareUnit); + } + if(element.Category.IsId(BuiltInCategory.OST_DuctInsulations)) { return DefaultCheck(Config.SquareUnit); }