View Full Version : copy existing UI window layouts?
elephetus
03-07-2010, 09:09 AM
So I have a simple question. I wrote a MEL script and have it working and the only thing that's left is laying out the window with the buttons, int fields, etc. I have it working but the alignment/look isn't ideal. The layout of the Playblast option UI is nearly identical to the layout I want. Is there a way to find the MEL window commands that get called when you click the playblast option or any of the other Menu items? I would like to just see how the window UI was laid out and copy that.
Fusedgore
03-07-2010, 10:54 AM
I think you would have to look through maya's script folder for that one .Not sure which one it would be though .I would say even try turning on echo all commands in the script editor but i dont think that will give you the window layout for it .
elephetus
03-07-2010, 07:36 PM
The echo all commands pointed me in the right direction and I was able to find the playblast options script. It looks like it's referencing stuff all willy nilly so it's rather indecipherable (at least without a ton of poking around different script files). Thanks for the tip though...