Adverti horiz upsell

ZhCG_PolyTools 1.6.2 for Maya (maya script)

polygon Tools, speedup your work flow!

License
Button download
8,065 Downloads

Compatibility

  • 2013, 2012, 2011, 2010, 2009

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:04/16/2013
Last Modified:04/21/2013
File Size: 16.7 MB

Keywords

maya, modeling, polyTools

Bugs

# Error: NameError: name '__main__' is not defined #

Statuspending
Priorityhigh
Date02/03/2014
Submitted bylee souder lee souder
Regularize_Relax;
__main__.relax()
# Error: NameError: name '__main__' is not defined #

I there a way to fix this?
thanks!
Lee

Comments on this bug:

  • lee souder

    lee souder said almost 11 years ago:

    hrmm I tried that, same problem
  • lee souder

    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

    metamesh said over 8 years ago:

    same here, same error, no way to use the script. Using linux
  • Iris heart

    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

    spidgeon said over 6 years ago:

    Thank you Iris heart, your solution seemed to fix the problem for me.
  • ben

    ben said over 5 years ago:

    @guguai can you elaborate more what we have to exactly?
  • guguai

    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: