清理多余引用

This commit is contained in:
2026-02-24 11:34:18 +08:00
parent 4961914919
commit 0ba966cef2
163 changed files with 279 additions and 840 deletions

View File

@@ -2,10 +2,6 @@
using Autodesk.Revit.DB;
using Nice3point.Revit.Toolkit.External;
using ShrlAlgoToolkit.RevitAddins.RvView;
using ShrlAlgoToolkit;
using ShrlAlgoToolkit.RevitAddins;
namespace ShrlAlgoToolkit.RevitAddins.DrawSheet;
[Transaction(TransactionMode.Manual)]
@@ -31,7 +27,7 @@ public class AdaptiveMEPTagCmd : ExternalCommand
if (loc.Curve is Line l)
{
var ra = l.Direction.AngleTo(XYZ.BasisX);
if (ra > Math.PI / 4 && ra < Math.PI / 4 * 3)
if (ra is > Math.PI / 4 and < Math.PI / 4 * 3)
{
toRotate.Add(tag);
}
@@ -53,7 +49,7 @@ public class AdaptiveMEPTagCmd : ExternalCommand
}
catch (Exception)
{
// ignored
}
}
}