public DSModelElementsByCategorySelection() : base( SelectionType.Many, SelectionObjectType.None, message, prefix) { DropDownNodeModel = new DSRevitNodesUI.Categories(); SelectedIndex = DropDownNodeModel.SelectedIndex; SelectionFilter = new CategoryElementSelectionFilter <Element>(); base.Filter = SelectionFilter; }
public DSModelElementsByCategorySelection(IEnumerable <string> selectionIdentifier, IEnumerable <PortModel> inPorts, IEnumerable <PortModel> outPorts) : base( SelectionType.Many, SelectionObjectType.None, message, prefix, selectionIdentifier, inPorts, outPorts) { DropDownNodeModel = new DSRevitNodesUI.Categories(); SelectionFilter = new CategoryElementSelectionFilter <Element>(); base.Filter = SelectionFilter; }