Dynamic Menu Issue

   1960   0   1
User Avatar
Member
54 posts
Joined: 2月 2009
Offline
Hey guys,

I'm trying to follow the example in the help file to create a dynamic menu using hscript,

http://www.sidefx.com/docs/houdini10.0/ref/windows/edit_parameter_interface [sidefx.com]

But I'm running into a problem when I try to apply to code to a menu-script parameter.

Basically, I'm entering

result = “”
foreach groupname ( pointgroupmask(“.” + opinput(“.”, 0), “*”) )
result = $result + “ $groupname ” + `toupper($groupname)`
end
echo $result


Into the menu-script, but nothing is being returned in the actual menu.

I've attached a hip file, hopefully someone might be able to take a quick look and see where I've gone wrong.

Cheers,
Gary

Attachments:
dynamic_menu_issue.hipnc (38.1 KB)

  • Quick Links