ncca / mayaport Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Thanks for making this, unfortunately I am not seeing output in vscode. In the readme it says "The output from maya will be sent back to the debug console".
In maya I run: import maya.cmds as cmds; cmds.commandPort(name=":7002", sourceType="python", echoOutput=True)
then in vscode I run: mayaport
to open connection, only the 7001 port is unhappy.
then type: print 'hihi'
in a *.py file and hit sendPythonToMaya
And I see the output in the maya script editor, but not in the vscode debug console or output window.
A new install of this extension in VSCode 1.4.0, after restarting and trying to send some python code to Maya I get "command 'extension.sendPythonToMaya' not found"?
Hi! This is not a bug! just to clarify, but did you know if there is some way to debug a maya plugin using this and the visual studio code debugger? It could be sooo nice!
Is there a way to auto load the Ext function instead of doing Ctrl + p each time I launch the VS Code?
With the current vscode version 1.18.1 MayaPort extension doesn't work. I get a warning command 'extension.sendMelToMaya' not found. Python has the same issue.
Great work on this. I have an issue regarding sending procedures via the port. If I have already called the procedure in Maya, I can invoke the procedure via Code and MayaPort. But it isn't very happy when I am trying to define a procedure and call it when sending via MayaPort. For example.
`proc TestThis ()
{
print "Testing";
}
TestThis;`
When I select all of this and send via MayPort I receiver the following in the Maya Console...
Testing// Error: }; //
// Error: Line 1.1: Syntax error //
// Error: line 1: Cannot find procedure "TestThis". //
If I copy the same procedure into the Maya Script Editor and execute, it loads into memory. Then I can call "TestThis" from MayaPort and it works.
So how do I load all my functions into memory using MayaPort?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.