Grasshopper

algorithmic modeling for Rhino

UI Containers
UI Elements
UI Graphs + Charts
UI Main
UI Output

Create Simple Grid

Component Index > Human UI > UI Containers > Create Simple Grid

Create a container with elements in a grid according to the path structure provided. Each branch path will be treated as a column and Elements will be placed in the column from top to bottom. Use the "Adjust Element Positioning" component to locate elements inside the grid cell. Use column and row definitions to control sizing.

Inputs

NameIDDescriptionType
UI ElementsEThe UI elements to place in the grid. Each path branch will form a column of the provided UI Elements from top to bottom.Goo
Grid MembershipMList of index numbers to place elements in different Grids. List length must match the number of Element paths.Integer
WidthWThe width of the gridNumber
HeightHThe height of the gridNumber
Row DefinitionsRDAn optional repeating pattern of Row Heights - use 'Auto' to inherit, numbers for absolute sizes, and numbers with * for ratios (like 1* and 2* for a 1/3 2/3 split)String
Column DefinitionsCDAn optional flat list of Column Widths - use 'Auto' to inherit, use numbers for absolute sizes, and numbers with * for ratios (like 1* and 2* for a 1/3 2/3 split)String

Outputs

NameIDDescriptionType
Simple GridSThe combined group of elementsGoo

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service