Browse Source

xls:内轮廓线合法性处理

mengxiangge 5 năm trước cách đây
mục cha
commit
016c535e8c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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));