algorithmic modeling for Rhino
When you populate the menu you have to assign check marks. If you use the Menu_Appendxxx() methods provided by Grasshopper there's an overload which allows you to immediately set the checkmark for each item.
--
David Rutten
david@mcneel.com
You could put the _index=i in the field for check:
Menu_AppendItem(menu, _valueList.FirstList[i], new EventHandler(), _index==i, true);
--
David Rutten
david@mcneel.com
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