mirror of
https://github.com/ShrlAlgo/RevitGen.git
synced 2026-03-09 10:58:18 +00:00
优化生成器事务调用,项目结构
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
// RevitGen.Common/Attributes/RevitCommandAttribute.cs
|
||||
|
||||
using System;
|
||||
|
||||
using Autodesk.Revit.Attributes;
|
||||
using System;
|
||||
|
||||
namespace RevitGen.Attributes
|
||||
{
|
||||
@@ -35,11 +31,6 @@ namespace RevitGen.Attributes
|
||||
/// </summary>
|
||||
public string ToolTip { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 命令的事务模式。生成器将根据此模式自动处理事务。
|
||||
/// </summary>
|
||||
public TransactionMode TransactionMode { get; set; } = TransactionMode.Manual;
|
||||
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
@@ -52,5 +43,7 @@ namespace RevitGen.Attributes
|
||||
}
|
||||
Text = text;
|
||||
}
|
||||
public bool UsingTransaction { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user