I have a python file that creates a dockable widget, how can I keep it there and docked for each time I open max?

I have a python file that creates a dockable widget, how can I keep it there and docked for each time I open max?

joe_jobson
Participant Participant
676 Views
4 Replies
Message 1 of 5

I have a python file that creates a dockable widget, how can I keep it there and docked for each time I open max?

joe_jobson
Participant
Participant

Pretty much as title says, my script creates a dockable widget that I then dock, and when I open max i'm hoping it would still be there. I've tried "Save Custom UI Scheme..." but that didn't seem to work and unsure what else to try.

 

Thanks!

0 Likes
677 Views
4 Replies
Replies (4)
Message 2 of 5

darawork
Advisor
Advisor

Hi,

 

You may want to try https://forums.autodesk.com/t5/3ds-max-programming/bd-p/area-b35
I'll ask the moderator to move this post there. You will most likely get an answer there much sooner than in this 'General' 3DSMax Forum.

Regards,

Darawork
AutoDesk User
Windows 11, 3DS Max 2026, Revit 2026, AutoCad 2026, Dell Precision 7875 nVidia - Quadro RTX4000 ATA - AMD Ryzen Threadripper PRO 7965WX 24-Cores - 128GB RAM

0 Likes
Message 3 of 5

joe_jobson
Participant
Participant

Ah okay I didn't know if it would come under program as it's more of the UI side. Thanks

0 Likes
Message 4 of 5

darawork
Advisor
Advisor

Hi,

 

There could be some clues here: https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=MAXDEV_Python_executing_python_executing_python...

Although if this is the wrong way to approach this, hopefully someone else will step in.

 

Regards,

Darawork
AutoDesk User
Windows 11, 3DS Max 2026, Revit 2026, AutoCad 2026, Dell Precision 7875 nVidia - Quadro RTX4000 ATA - AMD Ryzen Threadripper PRO 7965WX 24-Cores - 128GB RAM

0 Likes
Message 5 of 5

joe_jobson
Participant
Participant

This helped with how I can run the python as a start up script (i.e creating a maxscript that executes the python script), but my main issue is then keeping the UI that's run from the python script attached to my UI even after a new instance of max has been opened.

 

Thank you for your help though!