algorithmic modeling for Rhino
Hi Kwon,
items are sorted alphabetically by their name. It is however possible to put the components in different exposures. Override the Exposure property and return GH_Exposure.primary for the components you want to put along the left hand side, and GH_Exposure.secondary for the next column over and so on and so forth. By default all components are in the primary column.
At the moment there are seven possible exposure columns (primary, secondary, ternary, quarternary, quinary, senary and septenary). If you combine one of these columns with the GH_Exposure.obscure flag, the components will only be visible in the dropdown panel.
Public Overrides ReadOnly Property Exposure() As GH_Exposure
Get
Return GH_Exposure.primary
End Get
End Propertyor...
Public Overrides ReadOnly Property Exposure() As GH_Exposure
Get
Return GH_Exposure.primary Or GH_Exposure.obscure
End Get
End Property
--
David Rutten
david@mcneel.com
Poprad, Slovakia
- Is it possible to change the order within the same exposure? (or only alphabetical)
- Is it possible to change the order of panels in the same Tab?
Thanks!
Just a heads up for anyone using this in the future ternary is actually
tertiary in GH_Exposure
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by