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, size

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