Reload Package without restarting Houdini

   618   3   1
User Avatar
Member
48 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
333 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
185 posts
Joined: March 2011
Offline
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
333 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`
  • Quick Links