Data|Shapes
  • Data-Shapes package Primer
  • Dynamo
    • Geometry.PruneDuplicates
    • Transform.OriginAndVectors
    • Export Views to NavisWorks
  • Interop
    • Excel.Worksheets
    • Export to FBX
  • Revit
    • ActiveDocument.FileSize
    • Add Shared Parameter(s) from txt
    • All Elements In View(s)
    • All Lines of LineStyle
    • Categorie(s) by ENU Name(s)
    • Categories list
    • Document.LengthDisplayUnit
    • Duplicate Element
    • Element(s) cut
    • Filter.IsApplied
    • Get All Linked Docs infos
    • GetLinkedElement.InHostView
    • GetLinkedElement.InHostViewAndCategory
    • Grid.SetVerticalExtents
    • ImportInstance.IsLinked
    • Line LineStyle
    • ModificationTracker.AllChanges
    • ModificationTracker.GeometryChanges
    • ModificationTracker.ModelComparison
    • ModificationTracker.ParameterChanges
    • ParameterGroup list
    • PerformanceAdviserRule Elements
    • PerspectiveView.ByEyePositionTarget
    • RayBounce On Link Category
    • RayBounce On Linked Model
    • Replace viewports by center
    • Room Status
    • Room.Height
    • Select Face (s) (PickObject)
    • Select Model Elements of Category
    • Set Active Family Parameter By Name
    • SharedParameters from txt file
    • SlabShape.AddPoints
    • SlabShape.AddSplitLine
    • ViewSection.ByLine
    • ViewTemplate.IsApplied
    • WallSweepOnWall
  • UI
    • UI.Boolean Data
    • UI.ColorInput Data
    • UI.ConditionalInput Data
    • UI.DataTable input
    • UI.DirectoryPath Data
    • UI.DropDown Data
    • UI.FilePath Data
    • UI.Image Data
    • UI.InputGroup Data
    • UI.Listview Data
    • UI.MultipleInputForm ++
    • UI.RadioButtons Data
    • UI.SelectEdges Data
    • UI.SelectFaces Data
    • UI.SelectLinkedElement(s) Data
    • UI.SelectModelElements Data (ordered)
    • UI.SelectModelElements Data
    • UI.SelectPointsOnFace data
    • UI.Slider Data
    • UI.TextBox Data
    • UI.TextNote Data
    • UI.TreeView input
Powered by GitBook
On this page
  • 1. Description
  • 2. Inputs
  • 3. Output:
  1. UI

UI.DropDown Data

PreviousUI.DirectoryPath DataNextUI.FilePath Data

Last updated 6 years ago

1. Description

This node allows you to create a dropdown input on the UI.MultipleInputForm++ form for the user to select from.

2. Inputs

  • InputName (optional): This input lets you label the dropdown input on the form. All it takes is a string. If no input name is set, the dropdown input 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 dropdown menu. This list must mach the list of "Values" so that when a user selects a key in the dropdown menu, the associated value will be returned. In the following example, the keys are the names of the wall types, and the values are the wall type elements.

  • DefaultValueIndex (optional): This input lets you set the value that will be selected by default on the dropdown menu when it is first shown to the user. It takes an integer value that represents the index of the value in the list of values.

  • Sorted (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 on the dropdown menu in the same order as the Keys/Values lists.

3. Output:

The user input will be returned by UI.MultipleInputForm++ . The object type will be the same as the elements in the "Values" list.