def test():
getCreated=cmds.sphere(n='ball')
print getCreated
test()
like this ????
2010/1/11 Vitor Lôbo Ramos <[email protected]>
> def test():
>
> cmds.sphere(n='ball')
>
>
> #END
>
> If I run the same script twice, the name 'ball', will ball1, ball2,
> ball3 etc ...
>
> How do I return to the original name "ball" if you run it more than
> once?
>
>
> --
> http://groups.google.com/group/python_inside_maya
>
--
സ്നേഹിക്കയില്ല ഞാന്
നോവുമാത്മാവിനെ സ്നേഹിച്ചിടാത്തൊരു
തത്വശാസ്ത്രത്തെയും -- വയലാര്
"തെറ്റു ചെയ്യുന്നവന് മനുഷ്യനാണു്; അതിനെക്കുറിച്ചോര്ത്തു ദു:ഖിക്കുന്നവന്
മഹര്ഷിയാണു്; എന്നാല് അതില് അഭിമാനം കൊള്ളുന്നവന് പിശാചാണു്." - തോമസ്
മുള്ളര്
--
http://groups.google.com/group/python_inside_maya