ZhCG_PolyTools 1.6.2 for Maya (maya script)
polygon Tools, speedup your work flow!
Bugs
# Error: NameError: name '__main__' is not defined #
| Status | pending |
|---|---|
| Priority | high |
| Date | 02/03/2014 |
| Submitted by |
|
| Modify this bug | edit |
Regularize_Relax;
__main__.relax()
# Error: NameError: name '__main__' is not defined #
I there a way to fix this?
thanks!
Lee
__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 13 years ago:
lee souder said almost 13 years ago:
metamesh said over 10 years ago:
Iris heart said almost 9 years ago:
with "ZhCG_PolyTools " do not run the script with execfile(""), or you will get this bug
just follow the readme file
spidgeon said over 8 years ago:
guguai said almost 8 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()"
ben said over 7 years ago: