Explorar el Código

xls:内轮廓线合法性处理

mengxiangge hace 5 años
padre
commit
016c535e8c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      MBI/SAGA.MBI/RevitExport/SpaceSortUtils.cs

+ 1 - 1
MBI/SAGA.MBI/RevitExport/SpaceSortUtils.cs

@@ -180,7 +180,7 @@ namespace SAGA.MBI.RevitExport
                 {
                     #region 内轮廓处理,默认顺时针。转成逆时针
 
-                    if (annumlar != null)
+                    if (annumlar != null&& usePoints.Count>2)
                     {
                         usePoints.Reverse();
                         annumlar.InPolygons.Add(new Polygon(usePoints));