diff --git a/RookieStation/Drawing/ExecuteCmd/CreatePalanarViewAnnotation.cs b/RookieStation/Drawing/ExecuteCmd/CreatePalanarViewAnnotation.cs index 16871fd..715c3f8 100644 --- a/RookieStation/Drawing/ExecuteCmd/CreatePalanarViewAnnotation.cs +++ b/RookieStation/Drawing/ExecuteCmd/CreatePalanarViewAnnotation.cs @@ -142,13 +142,13 @@ namespace RookieStation.Drawing.ExecuteCmd doc.Invoke(ts => { - var independentTags = new FilteredElementCollector(doc, doc.ActiveView.Id).OfClass(typeof(IndependentTag)).Cast().Where(tag => tag.TagText == "").ToList(); + var independentTags = new FilteredElementCollector(doc, doc.ActiveView.Id).OfClass(typeof(IndependentTag)).Cast().Where(tag => tag.TagText == "" || tag.TagText == null).ToList(); foreach (var item in independentTags) { doc.Delete(item.Id); } doc.Delete(room.Id); - + doc.Regenerate(); foreach (ModelCurve curve in modelCurveArray) { doc.Delete(curve.Id); diff --git a/RookieStation/Finishes/Views/WpfWallFinishes.xaml.cs b/RookieStation/Finishes/Views/WpfWallFinishes.xaml.cs index cbf9b31..4a706eb 100644 --- a/RookieStation/Finishes/Views/WpfWallFinishes.xaml.cs +++ b/RookieStation/Finishes/Views/WpfWallFinishes.xaml.cs @@ -51,7 +51,7 @@ namespace RookieStation.Finishes.Views if (WallType != null && b && c) { WallHeight = wallheight; - WallHeight = wallheight; + WallBaseOffest = wallbase; DialogResult = true; } } diff --git a/TestTools/Class1.cs b/TestTools/Class1.cs deleted file mode 100644 index a4dc768..0000000 --- a/TestTools/Class1.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace TestTools -{ - public class Class1 - { - } -}