2025-02-10 20:53:40 +08:00
|
|
|
|
using Autodesk.Revit.Attributes;
|
|
|
|
|
|
using Nice3point.Revit.Toolkit.External;
|
2025-04-24 20:56:44 +08:00
|
|
|
|
using ShrlAlgoToolkit.Core.Assists;
|
2025-02-10 20:53:40 +08:00
|
|
|
|
|
2025-04-24 20:56:44 +08:00
|
|
|
|
namespace ShrlAlgoToolkit.RevitAddins.ModelManager;
|
2025-02-10 20:53:40 +08:00
|
|
|
|
[Transaction(TransactionMode.Manual)]
|
|
|
|
|
|
[Regeneration(RegenerationOption.Manual)]
|
|
|
|
|
|
public class SeparateModelCmd : ExternalCommand
|
|
|
|
|
|
{
|
|
|
|
|
|
public override void Execute()
|
|
|
|
|
|
{
|
|
|
|
|
|
//var win = new SeparateModelWin();
|
|
|
|
|
|
//win.Show();
|
|
|
|
|
|
SingletonChildWindowManager.ShowOrActivate<SeparateModelWin, SeparateModelViewModel>();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|