algorithmic modeling for Rhino
Hi raf,
When you construct your component, you need to specify a Category and Subcategory. The Category becomes the Tab and the SubCategory the Panel. Furthermore you can override the Exposure property of your component and return something other than GH_Exposure.primary. Every exposure ends up in a different panel section. However within a section the order is alphabetical and there's nothing you can do about that.
If you combine a GH_Exposure.primary, secondary etc. with the GH_Exposure.obscure flag then you indicate the component should only be available on the panel dropdown. However this value is ignored if the user has the 'Obscure Components' option enabled.
Finally, if you want to not show your component on the toolbars at all, then use GH_Exposure.hidden.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Hi David,
Trying to build a ghost component/ menu button(?) that registers certain events only, without necessarily appearing anywhere. Any documentation on how to go about that? The goal is to have a single instance of my component instantiated upon a grasshopper document being started.
Any input is appreciated!
Thanks in advance,
Marco
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