artbycrunk / vscode-maya

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

not running code properly #3

Closed miklem closed 5 years ago

miklem commented 5 years ago

Hi! I have a simple code, that suppose to create a set of references. Once I run it directly in Maya or from sublime it works fine, but once I send it through VScode it doesn't create a reference although part of the code run well. turntable.zip

artbycrunk commented 5 years ago

Hey @miklem, thanks for the feedback, what's the version of Maya you are using?

miklem commented 5 years ago

Hi! 2018.3 and python is 2.7.11

artbycrunk commented 5 years ago

I have pushed out a new update to the extension, version 1.0.0 can you update and then check if you still have issues...

Note that you now only need to open one common port for both python and mel code, by doing this

commandPort -name "localhost:7001" -sourceType "mel" -echoOutput;
miklem commented 5 years ago

Works fine! Thank you so much.