From 4b08cdb18ed163d97069905b85b3c360ec40fddf Mon Sep 17 00:00:00 2001 From: Mankaev_r Date: Thu, 6 Aug 2026 14:31:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BC=D0=B5=D0=BD=D0=B0=20=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=BD=D0=B4=D0=B0=D1=80=D1=82=D0=BD=D0=BE=D0=B9=20?= =?UTF-8?q?=D0=B5=D0=B4=D0=B8=D0=BD=D0=B8=D1=86=D1=8B=20=D0=B8=D0=B7=D0=BC?= =?UTF-8?q?=D0=B5=D1=80=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=D0=BE=D0=B7=D0=B4?= =?UTF-8?q?=D1=83=D1=85=D0=BE=D0=B2=D0=BE=D0=B4=D0=BE=D0=B2=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D0=BC2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Models/Fillers/ElementParamUnitFiller.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); }