using Autodesk.Revit.Attributes; using Autodesk.Revit.DB; using Nice3point.Revit.Toolkit.External; namespace ShrlAlgo.RvKits.RvCivil { [Transaction(TransactionMode.Manual)] [Regeneration(RegenerationOption.Manual)] public class WallFinishesCmd : ExternalCommand { public override void Execute() { var wallTypes = Document.OfCollector().OfClass(typeof(WallType)).Cast().ToList(); WinDialogHelper.ShowModeless(new WallFinishesViewModel(wallTypes)); } } }