Selectable Preview: Visual and Intuitive Grasshopper Selection

SelectablePreview is a simple component that generates selectable preview geometry, helping users to select grasshopper geometry in Rhino viewport. While in most other parametric software packages, users can select objects directly in the modeling environment as input, in grasshopper, user can only preview the unselectable geometry. Although this greatly improves the performance of grasshopper, from time to time, users feel the frustration of seeing the geometry but not being able to select it. SelectablePreview is designed for this kind of situation. It not only generates the geometry in rhino, but the outputs of the component also correspond to the selection. Moreover, the selected geometry can be locked within the component for further manipulation.This component hopes to create a more visual and intuitive design experience for grasshopper users.

Component Select

Select the objects in the Rhino Environment

This screenshot demonstrate the use of this component. The component will be under User>Preview Tab after you installed the component. If the SelectablePreview Component is connected to any geometry in grasshopper, it will generate preview geometries that are selectable in the Rhino environment. Users can simply pick what they see on the screen and the component output will correspond to what they have selected. Output P and I  provide the  path and index of the selected object for users. Users can also choose to maintain the original tree structure for the output by right click on the component and select “toggle maintain path.”

Component Locked

Lock the selection for Grasshopper

Once the objects are selected, users can double click the button on the component to change the state of the component. When the state changes from “select” to “locked,” the output of the component will be assigned to the previously selected objects and will no longer respond to selection in Rhino. This locked data will be persistent through saving and reading grasshopper file.

Grasshopper assembly download is available at Selectable Preview at food4Rhino.