ソースを参照

xls:内轮廓线合法性处理

mengxiangge 5 年 前
コミット
016c535e8c
1 ファイル変更1 行追加1 行削除
  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));