Reload Package without restarting Houdini

   3289   4   2
User Avatar
Member
95 posts
Joined: Feb. 2020
Offline
I'm working on some custom right click menus. My menu, PARMmenu.xml, is stored in a custom package that I've added to my houdini19.0\packages folder. When I make edits to PARMMenu.xml while the session is running, the changes are not updating. The only way I can get the menu to update is by restarting Houdini.

I thought the Main Menu>Assets>Refresh Assets Libraries might refresh my menu, but that doesn't seem to be the case.

Is there anyway to reload my menu without restarting the session?
Edited by wyhinton1 - Aug. 3, 2022 14:30:57
User Avatar
Staff
450 posts
Joined: Feb. 2018
Offline
It's not yet supported when reloading packages, you have to restart Houdini for your changes to take effect.
User Avatar
Member
279 posts
Joined: March 2011
Online
mabelzile
It's not yet supported when reloading packages, you have to restart Houdini for your changes to take effect.

Wouldn't "hou.ui.reloadPackage" method do that?
User Avatar
Staff
450 posts
Joined: Feb. 2018
Offline
guilhermecasagrandi
mabelzile
It's not yet supported when reloading packages, you have to restart Houdini for your changes to take effect.

Wouldn't "hou.ui.reloadPackage" method do that?

Ideally yes, but custom menus are not supported by `hou.ui.reloadPackage`
User Avatar
Member
293 posts
Joined: July 2013
Offline
in a TextPort pane run the "menurefresh" hscript command, it will reload all PARM/OP etc contextmenu content, also those defined in packages.

edit: I now see this is a 3 year old thread, I landed here while searching for something else
Edited by Jonathan de Blok - Oct. 15, 2025 10:03:24
More code, less clicks.
  • Quick Links