In Maya 2017 work perfect. In Maya 2016 error: # Error: TypeError: file C:\Program Files\Autodesk\Maya2016\Python\lib\site-packages\pymel\internal\pmcmds.py line 133: Invalid flag 'oo' # Thx for the script. Im use 2016.
thanks Lamont. Seen a bunch of scripts that do it that way. Gonna try and re-write this script with set functionality like MoP suggested and move this to python and maybe learn some pyQT along the way. Let me know what you cook up with it :)
Hey guys, Anyone know how to add new custom script hotkeys to Maya via python or MEL? I'm not sure what to look for. With pymel I'm trying nameCommand() but it doesn't seem to be adding to the list in the hotkey editor.
Thanks poopipe But it's outside of my knowledge unfortunately . Perhaps one day I will have time to master python and c# when on my retirement :) Found that Total commander I use can at least search (slow) for those sbs tags and labels using it searching inside files option. Never been able to get it from Windows itself.
no good way but here is a really hackish way. edit: will have to post later for you appeenty my phone can't copy and paste python and have it formatted correctly. it is still a big hack job to do since you are actually quwrory the viewport ui element.
Hello It mostly depends on what he want do and how? If he want develop from scratch, then maybe Python + Pygame, or Lua as beginner. or want he develop games with using an existing engine? Then the UDK, Unity or CrySDK 3 would fit. Greetings Steven3D
They should make a running Monty Python-esqe gag were Meryl has to cut off a limb at the end of each season. He keeps getting himself in these zaney predicaments and before you know it he is just a wise ass with all robot/metal appendages.
Solved this with a solution suggested by my colleague. 7 rows of python code was all it took. I'm pretty much querying every frame in my range for it's value. Then creating new indexes with colors and positions in a ramp node. I.e. keyframe value = color and frame = position.
The look of the buttons and panels should change a bit, but the actual interface and workflow should stay about the same. It will be possible to not only set custom hotkeys and to have greater control of the interface through Python scripting. Exactly how it will all work in practice has yet to be revealed.
I am trying to merge two Maya scenes in-place. Where I import scene A into scene B and it will move items from scene A into the correct hierarchy position in scene B. Other than name-space shenanigans, what is the best way to go about this in Python? Or is there a script already that does this?