This node allows you yo create a ListView input type on UI.MultipleInputForm++ forms.
InputName (optional): This input lets you label the ListView on the form. All it takes is a string. If no input name is set, the ListView will appear wider.
Keys and Values: These are mandatory inputs, and they work together. The keys are the texts that are displayed to the user in the ListView input. This list must mach the list of "Values" so that when a user selects items in the ListView menu, the associated value will be returned. In the following example, the keys are Sheet Numbers, and the values are the Sheets.
If the elements in the "Values" list are detected as Revit elements, then the element Id will be appended to the key, allowing the user to differentiate two elements with the same name.
Height (optional): This input lets you set the height of the ListView. It takes integer values. The default height of ListViews is 200.
HilightInView (optional): This input takes a boolean value. When set to true, the ListView behaves like a Watch node. Clicking on the elements will zoom and center the view on it in Revit. Clicking multiple times on the same list item will browse through all the views that the element can be seen in in the projet. When the option is activated, the list view visual style will be different with blue and white lines. The default value of the input is false and all of this obviously only works if the "Values" input list contains Revit elements. In the following example, we have a list of all furnitures and we hilight elements in Revit by clicking on them in the LiftView.
DisplayModeOnly (optional): When you only want to display a list of informations to the user, you can activate this option by setting the DesplayModeOnly to true. There won't be check boxes to select items from the list anymore and nothing will be returned by UI.MultipleInputForm++.
DefaultValueIndices (optional): This input lets you set the elements that will be checked by default on the ListView menu when it is first shown to the user. It takes a list of integer values that represents the indices of the elements in the lists of Keys/Values.
SortItems (optional): This input is used to determine whether you want your lists of keys/values to be sorted (alphanumerically) or not. It takes a boolean value and is set to true by default. If you set it to false, then the items will appear in the ListView menu in the same order as in the Keys/Values lists.
ShowId (optional): As explained earlier, if the elements in the "Values" list are detected as Revit elements, the element Ids will automatically be appended to the key, in order to differentiate elements with the same key. If you don't want the Ids showing, you can set the "ShowId" input to false. It's default value is true. Be careful using this as having two elements with the same key will cause the user input to fail most of the times.
The selected ListView items will be returned by UI.MultipleInputForm++ as a nested list . The object types will be the same as the elements in the "Values" list.