How to fix the “Create Rig Pose” and “Publish Character” windows not expanding correctly (!)
Hi all
A few days now i was not able to use the Animation and Rigging Toolset because of a “bug” or better, “bad” code.
The original code resulted in some UI windows, within Maya, that just would`nt expand enough for correct use
making it impossible for me to get work done. Two windows were actually affected, the “Create Rig Pose”,
and the "Publish Character"window. Now i figured out how to solve the issue.
Go to your UE4 Build path and navigate to the toolsets scripts folder
e.g. …\Unreal Engine\4.0\Engine\Extras\Maya_AnimationRiggingTools\MayaTools\General\Scripts
(!) be sure to make a backup (!)
Open the ART_skeletonBuilder_UI.py. I opened the script with Microsoft Visual Stuio 2012 (similar software should work just as fine)
Once you opened the script navigate to the entry where it says:
window = cmds.window(“rigPoseCreationUI”, w = 200, h = 300, sizeable = True, titleBar = True, titleBarMenu = True, mnb = False, mxb = False, title = “Create Rig Pose”)
→ using a search tool within the software helps a lot! Try searching for “Create Rig Pose”.
once you find the line, change the “sizeable” value from “False” to “True”.
You could also change the size by changing the “h =” value to “whatever you like”.
The same goes for the “Publish Character” window and this line you are looking for:
self.widgets"publishUIWindow"] = cmds.window(“publish_ui_window”, w = 300, h = 800, mxb = False, mnb = False, sizeable = True, title = “Publish Character”)
Change the “sizeable” value and/or the “h =” value
Save the script and overight the existing (!) be sure to have a backup before you save (!)
Start or restart Maya
You should now be able to resize the former affected windows.
I hope this helped.