Hope everybody is doing great!
I am new to Houdini and still exploring how the UI could be controlled more efficiently programmatically, that said I couldn't even find an equivalent of the problem described below using the Interface either.
I am trying to load a QMainWidnow using a pypanel file, that gets attached to a floating panel. Dummy code below.
try: import my_module.myUi as myUi reload(myUi) myUi.main() except Exception as e: print e print(traceback.format_exc()) def onCreateInterface(): return myUi.mainWidget def onActivateInterface(): panel = kwargs["paneTab"] floatingPanel = panel.floatingPanel() floatingPanel.setSize(publisher_ui.size) floatingPanel.setPosition([0, 0])
Now what I would want for the floating panel, is to remember it's position and size when it is reopened. These are a few ways that I thought of, but didn't succeed.
1. Call the “onDestroyInterface” function and store the values somewhere, but there has to be a default preferences where I could save all this info?
2. Try attaching the panel to the Desktop and then save the layout.
It might be something very basic but any help would be much appreciated

Regards
-Tanay Dimri
