优化更新代码,添加界面功能并整合
This commit is contained in:
24
ShrlAlgo.RvKits/RvCommon/ModelByCurveCreatorCmd.cs
Normal file
24
ShrlAlgo.RvKits/RvCommon/ModelByCurveCreatorCmd.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
|
||||
using Autodesk.Revit.Attributes;
|
||||
using Autodesk.Revit.DB;
|
||||
using Autodesk.Revit.UI;
|
||||
|
||||
using Nice3point.Revit.Toolkit.External;
|
||||
|
||||
|
||||
|
||||
namespace ShrlAlgo.RvKits.RvCommon
|
||||
{
|
||||
[Transaction(TransactionMode.Manual)]
|
||||
[Regeneration(RegenerationOption.Manual)]
|
||||
internal class ModelByCurveCreatorCmd : ExternalCommand
|
||||
{
|
||||
public override void Execute()
|
||||
{
|
||||
WinDialogHelper.ShowModeless<ModelByCurveCreatorView>(new ModelByCurveCreatorViewModel(Document));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user