19 lines
524 B
C#
19 lines
524 B
C#
using Autodesk.Revit.Attributes;
|
|
using Autodesk.Revit.DB;
|
|
using Nice3point.Revit.Toolkit.External;
|
|
|
|
using ShrlAlgoToolkit.RevitAddins.Assists;
|
|
|
|
namespace ShrlAlgoToolkit.RevitAddins.RvCivil
|
|
{
|
|
[Transaction(TransactionMode.Manual)]
|
|
public class WallFinishesCmd : ExternalCommand
|
|
{
|
|
public override void Execute()
|
|
{
|
|
var wallTypes = Document.OfCollector().OfClass(typeof(WallType)).Cast<WallType>().ToList();
|
|
WinDialogHelper.ShowModeless<WallFinishesView>(new WallFinishesViewModel(wallTypes));
|
|
}
|
|
}
|
|
}
|