Open and set some values on a Python Panel

   270   0   0
User Avatar
Member
9 posts
Joined: Feb. 2014
Offline
I have made a custom Python Panel, which lives inside a folder structure and loaded using a package.json file and the $HOUDINI_PYTHON_PANEL_PATH variable and a .pypanel file in xml format.
I am trying to make a button on an HDA that open a floating window and loads my panel, but I haven't had any luck so far.

The command below opens a PythonPanel, but I can't figure out how to change the selection on the drop down menu.
panel = hou.ui.curDesktop().createFloatingPaneTab(hou.paneTabType.PythonPanel, size800, 600))

Any idea of how to do that, or if there are any example code out there?

thank you
Georgios
  • Quick Links