仅提供中文版本
Idling&ExternalEvent 空闲事件与外部事件
空闲事件
- 空闲事件是指在revit无操作时执行命令
- TheBuildingCoder解释
- code
1 |
|
- TIPS:在挂载事件后最好后缀卸载事件,不然事件不会停止将一直重复
idling里面的操作:smile_cat:
外部事件
- 外部事件是指在窗体或外部调用revit命令时使用的事件
- 需要引用接口:
IexternalEventHandler - code
1 | public class ExternalHandler : IExternalEventHandler |
Author: Broccoli
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Related Articles

2020-11-11
Revit Export DWGExportSetting

2020-04-17
Revit二次开发 将构件信息导入到数据库中
2020-01-19
2016RevitAPI一次性生成多个构件
2021-06-08
Revit PromptForFamilyInstancePlacementOptions Family Placement API

2021-01-05
Revit Left Right Value Coding Storage Hierarchical Tree Structure Design

2021-09-14
QT+ CLion + Revit Issues Summary