Copyright (c) 2024
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Compatibility
-
2014, 2013
Operating Systems
History
Created: | 05/28/2013 |
Last Modified: | 06/08/2013 |
File Size: | 53.6 KB |
Bugs (5 reported) Help make this item even better. Your bug reports are appreciated!
Date | Priority | Title | Status |
---|---|---|---|
09/22/2017 | high | Script fails on Maya 2017 (patch submitted) | Pending |
08/10/2013 | low | Fatal Error for Maya 2014 | Closed |
05/30/2013 | medium | right menu calling customs scripts | Closed |
05/30/2013 | high | Error when using PySide in Maya 2014 | Closed |
05/30/2013 | low | toggle edit mode | Closed |
Bugs
right menu calling customs scripts
Status | closed |
---|---|
Priority | medium |
Date | 05/30/2013 |
Submitted by | Mr.Balancer _zhaojie |
can you take an example for customs scripts of right menu?
if i use py,like " cmds.move( 0, 0, 0, objectSpace=True ); "
error:
# Traceback (most recent call last):
# File "D:\Program Files (x64)\Autodesk\Maya2013\Python\anim_picker\gui.py", line 2405, in custom_eval
# env=self.get_exec_env())
# File "D:\Program Files (x64)\Autodesk\Maya2013\Python\anim_picker\handlers\python_handlers.py", line 11, in safe_code_exec
# exec cmd in env
# File "<string>", line 1, in <module>
# NameError: name 'cmds' is not defined
Comments on this bug:
-
CharlieWales said over 11 years ago:
I had to: import maya.cmds as cmds at the beginning of the script for it to work. Hope it helps -
Guillaume Barlier said over 11 years ago:
Yes that's not a bug, it's by choice. Currently for the menus i'm creating a clean environnement to prevent globals conflicts. Consider the menu script window as you would a separate python file, you have to import what you use. I just provide custom globals variable to access the related controls.
Post a comment:
Report a bug
Related Items:
-
"Rapid Rig: Modular" - Procedural Auto Rig 2.4.8 for Maya (maya script)
$99.00 (USD) -
"Rapid Rig: Advanced" - Auto Rig 2.3.8 for Maya (maya script)
$49.00 (USD) -
"Rapid Rig: Poser" for Maya for Maya 2.0.9 (maya script)
$20.00 (USD) -
Quadruped Path Animation System 1.1.4 for Maya (maya script)
$80.00 (USD) -
Human Character Rig in 1 minute (skeleton, rig & bind skin in 1 minute) 3.1.0 for Maya (maya script)
$25.00 (USD) -
Speed Facial Rig: Full version for Maya 2.0.2 (maya script)
$99.00 (USD)