清理多余引用
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user