Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

save and read python docked widget location help

save and read python docked widget location help

RichardMoss
Contributor Contributor
656 Views
0 Replies
Message 1 of 1

save and read python docked widget location help

RichardMoss
Contributor
Contributor

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?

0 Likes
657 Views
0 Replies
Replies (0)