List of tab submenus

   1742   1   2
User Avatar
Member
47 posts
Joined: Jan. 2014
Offline
Hi – how can I get a list of the tab submenus in python? I've been looking through the HOM documentation, but I've had no luck finding anything.

Thanks!
Ben
User Avatar
Member
617 posts
Joined: Aug. 2008
Offline
in the parameter interface.
under the menu file tab you will have 2 tabs.
one will be menu items where you manually type what you want. if you want to dinamicly populate this base on something use the second tab in th emenu script and you can use python there.

here the list is very important since the first index is the parameter name, and the next is the label. so you need to generate a list that goes


put this in the menu script.
def list():
lista =
return lista

return list()

this will make a combobox to show 2 items.
  • Quick Links