diff --git a/Objects/Converters/ConverterRevit/ConverterRevitShared/ConverterRevit.cs b/Objects/Converters/ConverterRevit/ConverterRevitShared/ConverterRevit.cs
index 1f7e2ae368..36fc3ba036 100644
--- a/Objects/Converters/ConverterRevit/ConverterRevitShared/ConverterRevit.cs
+++ b/Objects/Converters/ConverterRevit/ConverterRevitShared/ConverterRevit.cs
@@ -737,7 +737,6 @@ public object ConvertToNativeObject(Base @object)
case GisFeature o:
return GisFeatureToNative(o);
-
#if (REVIT2024)
case RevitToposolid o:
return ToposolidToNative(o);
@@ -914,8 +913,13 @@ public bool CanConvertToNative(Base @object)
Organization.DataTable _ => true,
// GIS
PolygonElement _ => true,
- GisFeature feat when (feat.GetMembers(DynamicBaseMemberType.All).TryGetValue("displayValue", out var value) &&
- value is List valueList && valueList.Count > 0) => true,
+ GisFeature feat
+ when (
+ feat.GetMembers(DynamicBaseMemberType.All).TryGetValue("displayValue", out var value)
+ && value is List valueList
+ && valueList.Count > 0
+ )
+ => true,
_ => false,
};
if (objRes)
diff --git a/Objects/Converters/ConverterRevit/ConverterRevitShared/PartialClasses/ConvertPolygonElement.cs b/Objects/Converters/ConverterRevit/ConverterRevitShared/PartialClasses/ConvertPolygonElement.cs
index 472f2f24dc..25f0dbcf0a 100644
--- a/Objects/Converters/ConverterRevit/ConverterRevitShared/PartialClasses/ConvertPolygonElement.cs
+++ b/Objects/Converters/ConverterRevit/ConverterRevitShared/PartialClasses/ConvertPolygonElement.cs
@@ -37,8 +37,8 @@ public ApplicationObject GisFeatureToNative(GisFeature gisFeature)
};
}
return DirectShapeToNative(speckleDirectShape, ToNativeMeshSettingEnum.Default);
-
}
+
public ApplicationObject PolygonElementToNative(PolygonElement polygonElement)
{
var speckleDirectShape = new Objects.BuiltElements.Revit.DirectShape()