using Autodesk.Revit.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FWindSoft.Revit
{
///
/// revit扩展事件使用参数
///
public class RevitEventArgs : EventArgs
{
///
/// 处理过
///
public bool Handled
{
get;
set;
}
///
/// 关联UiApp
///
public UIApplication UIApp { get; internal set; }
///
/// 当前操作类
///
public RevitHandler Handler{
get; internal set;
}
public HandlerResult Result { get; internal set; }
public object Tag { get; set; }
}
#region 执行结果
public enum HandlerResult
{
///
/// 未进行执行
///
None,
///
/// 执行成功
///
Successed,
///
/// 执行失败
///
Failed,
///
/// 中断
///
Abort,
}
#endregion
}