menu scripts in HOM (or hscript if there's a way)

   4102   2   0
User Avatar
Member
89 posts
Joined: April 2008
Offline
Hi

It seems that the item_generator_script parameter for hou.MenuParmTemplate doesnt work. Is there any way around that? I've tried wrapping opspareds but so far I cant get it to behave. I need to add a menu to an existing folder, and

opspareds 'group { name “existing_folder” label “existing_folder_name” parm { …. } }

zaps all the spare parameters from my node and adds the folder and parameter in a “Spare” tab.

please help!
User Avatar
Member
9 posts
Joined: April 2010
Offline
bump !
Jens Jebens
Pipeline TD
Dr D Studios
User Avatar
Member
665 posts
Joined: July 2005
Offline
As a work around here, we have used opspareds.

As you notice, it clears the whole node, so we had to output the ENTIRE opspareds using opscript, insert the parameter we wanted, and then apply that back to the original node.

Not super clean, but gets the job done.


-j
  • Quick Links