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
-
2013, 2012, 2011, 2010, 2009
Operating Systems
History
Created: | 04/16/2013 |
Last Modified: | 04/21/2013 |
File Size: | 16.7 MB |
Bugs (5 reported) Help make this item even better. Your bug reports are appreciated!
Date | Priority | Title | Status |
---|---|---|---|
01/05/2022 | high | PolyTools Not Working in Maya 2022 | Pending |
02/16/2019 | high | # Error: line 1: NameError: file <maya console> line 1: name '__builtin__' is not defined | Pending |
02/03/2014 | high | # Error: NameError: name '__main__' is not defined # | Pending |
09/27/2013 | high | error | Pending |
04/21/2013 | medium | Quick selection set | Active |
Bugs
# Error: NameError: name '__main__' is not defined #
Status | pending |
---|---|
Priority | high |
Date | 02/03/2014 |
Submitted by | lee souder |
__main__.relax()
# Error: NameError: name '__main__' is not defined #
I there a way to fix this?
thanks!
Lee
Comments on this bug:
-
lee souder said almost 11 years ago:
hrmm I tried that, same problem -
lee souder said almost 11 years ago:
I put that code at the end of the python script while I was in the script editor in Maya. Then I saved it. I still get the same error. -
metamesh said over 8 years ago:
same here, same error, no way to use the script. Using linux -
Iris heart said almost 7 years ago:
Just got this error, fixed it by deleting the runtime commands in the hotkey editor that were linked
with "ZhCG_PolyTools " do not run the script with execfile(""), or you will get this bug
just follow the readme file -
spidgeon said over 6 years ago:
Thank you Iris heart, your solution seemed to fix the problem for me. -
ben said over 5 years ago:
@guguai can you elaborate more what we have to exactly? -
guguai said almost 6 years ago:
If it not work after installation, check the tool scripts of Hotkey Editor > Custom Scripts > zhcg_PolyTools, if your python is __main __. XXXXXX(), it is installed error, delete all scripts in the zhcg PolyTools column and reInstall zhcgPolyTools.
Or modify python, Ex:
"__main__.XXXXXX()" chang to "zhcg_polyTools.XXXXX()"
Post a comment:
Report a bug
Related Items:
-
FULL - 130 scripts for Modeling,UV + video tutorials for each 1.1.0 for Maya (maya script)
$40.00 (USD) -
Polygon Modeling Assistant for Maya 4.6.3 (maya script)
$30.00 (USD) -
Kami - Stylized hair/hair cards plugin for Maya 2020-23 1.0.0 for Maya (maya plugin)
$49.00 (USD) -
Quick set panel for Maya 1.0.0 for Maya (maya script)
$20.00 (USD) -
Poly Tools for Maya for Maya 0.4.2 (maya script)
$20.00 (USD) -
Elephant 3d textured model 3ds max and maya scene files 3D Model
$30.00 (USD)