mirror of
https://github.com/ShrlAlgo/AddinManager.git
synced 2026-03-07 16:38:56 +00:00
添加项目文件。
This commit is contained in:
29
AddInManager/StaticUtil.cs
Normal file
29
AddInManager/StaticUtil.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using Autodesk.Revit.Attributes;
|
||||
using Autodesk.Revit.UI;
|
||||
|
||||
using System;
|
||||
using System.Windows;
|
||||
|
||||
namespace AddInManager
|
||||
{
|
||||
public static class StaticUtil
|
||||
{
|
||||
public static void ShowWarning(Exception e)
|
||||
{
|
||||
ShowWarning(e.Message);
|
||||
}
|
||||
|
||||
public static void ShowWarning(string msg)
|
||||
{
|
||||
MessageBox.Show(msg, "插件管理", MessageBoxButton.OK, MessageBoxImage.Exclamation);
|
||||
}
|
||||
|
||||
public static string m_ecFullName = typeof(IExternalCommand).FullName;
|
||||
|
||||
public static string m_eaFullName = typeof(IExternalApplication).FullName;
|
||||
|
||||
public static RegenerationOption m_regenOption;
|
||||
|
||||
public static TransactionMode m_tsactMode= TransactionMode.Manual;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user