From bd73d7ecde698807618cac5dcd9c4c7b6bad4e6f Mon Sep 17 00:00:00 2001 From: ShrlAlgo <40654941+ShrlAlgo@users.noreply.github.com> Date: Thu, 4 Sep 2025 16:16:41 +0800 Subject: [PATCH] Update README with transaction handling details Clarify transaction handling in RevitCommand usage. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ffc3375..fcaa040 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ - CommandHandler来定义运行的逻辑方法 - 如果是路径的图标的话,需要属性窗口中把生成方式改成嵌入式资源 - 命令自带UIApplication,UIDocument,Document,ActiveView等属性 -- 自带事务处理 +- 自带事务处理,不需要使用默认事务时,可以使用[RevitCommand("测试", UsingTransaction = false)] - 命令的特性会生成一个RevitGenApplication的类,注册命令,生成面板。 ``` using Autodesk.Revit.DB;