修复bug和新增部分功能

This commit is contained in:
GG Z
2024-10-08 16:21:39 +08:00
parent 082b781808
commit b6647218be
44 changed files with 1709 additions and 1390 deletions

View File

@@ -1,6 +1,5 @@
using Autodesk.Revit.DB;
using JetBrains.Annotations;
namespace Sai.Toolkit.Revit.Assist;
@@ -14,7 +13,7 @@ internal static class HostObjectAssist
public static List<Sketch> GetSketch(this HostObject element)
{
var doc = element.Document;
List<Sketch> sketches = new();
List<Sketch> sketches = [];
using (SubTransaction subTransaction = new(doc))
{
subTransaction.Start();