From 82f1e6848533c5c0b2ba1f1b50974d9bd68901c7 Mon Sep 17 00:00:00 2001 From: GG Z <903524121@qq.com> Date: Thu, 13 Jan 2022 17:47:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ExecuteCmd/CreatePalanarViewAnnotation.cs | 4 ++-- RookieStation/Finishes/Views/WpfWallFinishes.xaml.cs | 2 +- TestTools/Class1.cs | 12 ------------ 3 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 TestTools/Class1.cs 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 - { - } -}