save and read python docked widget location help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm coming from a Maya background and have written a successful way to save a docked python panel location using Workspacecontrol. I want to run a Qt dockwidget on max startup (running an .ms file that executes the py script) but I can't seem to find in the documentation where I can register that python panel so that it reads the last known panel location on startup... I tried to do it through Qt savestate but then I couldn't dock the panel. Could someone explain to me where max saves its panel locations? or how to query the existing docked pyside2 panels?
I was looking through the .cui documents and thought I could write a custom one but im not sure if that is the correct way of doing it.... is it a pymxs function or something I do with pyside2?