Recent Forum Posts
Is there a way to refresh Python Panels edited in an external editor? Oct. 24, 2019, 3:28 p.m.
Just reload all your modules in the onCreateInterface and upon changes, you can hit the reload interface button on the python panel itself.
def onCreateInterface(): import mymodule reload(mymodule) return mymodule.panel_widget()
Python comand line scripting import hou generates double free/corruption error Jan. 27, 2019, 1:14 p.m.
Starting from version 17 Houdini doesn't use systems Python anymore. I'd imagine that trying to use Houdini's libraries from the external interpreter could lead to all sorts of issues. Unless you absolutely must using system's Python for some reason, stick to Hython instead.
Autosave 456.py Jan. 26, 2019, 7:49 p.m.
if hou.ui.displayMessage("Turn on autosave? ", buttons=("No", "Yes")) == 1: