Files
Shrlalgo.RvKits/ShrlAlgoToolkit.RevitAddins/RvCivil/WallFinishesCmd.cs

21 lines
549 B
C#
Raw Normal View History

2024-09-22 11:05:41 +08:00
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Nice3point.Revit.Toolkit.External;
2025-04-24 20:56:10 +08:00
using ShrlAlgo.Toolkit.Core.Assist;
namespace ShrlAlgo.RvKits.RvCivil
2024-09-22 11:05:41 +08:00
{
[Transaction(TransactionMode.Manual)]
[Regeneration(RegenerationOption.Manual)]
public class WallFinishesCmd : ExternalCommand
{
public override void Execute()
{
var wallTypes = Document.OfCollector().OfClass(typeof(WallType)).Cast<WallType>().ToList();
2025-04-24 20:56:10 +08:00
WinDialogHelper.ShowModeless<WallFinishesView>(new WallFinishesViewModel(wallTypes));
2024-09-22 11:05:41 +08:00
}
}
}