artbycrunk / vscode-maya

A Visual Studio Code extension with support for coding for Maya.
MIT License
45 stars 11 forks source link

NameError: name 'python' is not defined #17

Closed TedWenJun closed 3 years ago

TedWenJun commented 4 years ago

Hi~ i use the extension with maya2020 , and i got the message after i sent the code: "NameError: name 'python' is not defined".

I have checked your source code and found that you warpped the executed code with "python()" after code type checking, is that the reason maya cannot run with it. Not so familiar with maya python, thx for your great job and hope for reply~

artbycrunk commented 4 years ago

hi @TedWenJun are you trying it with MEL or Python code?

artbycrunk commented 3 years ago

Closing this issue as there has been no activity in a long time, feel free to re-open the issue if required.