The Modelup platform allows you to create so called “segmented control” inputs. These are great if you have a value list with 2-5 options. See example below.

image.png

Link to example: https://configurator.modelup3d.com/?projectId=SeoxFU9T&token=eyJhbGciOiJIUzI1NiJ9.eyJ2NW4iOjEsImlkIjo0NSwicDdkIjoiU2VveEZVOVQiLCJwOXMiOlsiYzVlIiwicl9jMTVhIl19.o8NG7vrZMozBZKhl5t9b5X1KC8W9XAV5XCJKdL0yvuw&configurationState=a_f73e5d24-c32b-44d3-93eb-47cfbd724a1c_shape_0_cb43b9a4-2031-4b29-b402-867930188ea8_1

Grasshopper

To create a segmented control in Grasshopper using the Modelup plugin, follow these steps:

  1. Create a ValueList and give it the desired options. ValueLists are the underlying Grasshopper components that make up the options in a segmeted control.
  2. Attach a “Value List Display Style” to the ValueList.
  3. Right click on the “Value List Style” (”S”) input, and select “Segmented control”.
  4. That’s it! If you now upload the definition, you should see the ValueList be turned into a segmented control.

image.png

Download there example file above:

08-select-segmented-controls.gh

Remarks

Be careful with creating. It is recommended to not exceed more than 5 options. If each option has a long text, 5 may be too much.