浏览代码

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));