Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SendtoMayaNew to Visual Studio Code? Get it now.
SendtoMaya

SendtoMaya

Ivan Cheung

|
8,367 installs
| (1) | Free
Send python scripts to Maya with socket pipes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

sendtomaya README

sendToMaya is a simple extension to allow sending the text document or selected text to the maya, you must first enable the commandPort in maya. To open a port for python use the following code, which uses the default values, change to different port values as applicable.

import maya.cmds as mc mc.commandPort(name="127.0.0.1:7002", stp="python", echoOutput=True)

Features

You can send python code via the command sendToMaya

Extension Settings

To set custom port ID's edit the user settings (File > Preferences (Code > Preferences on Mac)) and add the following key values to override the defaults

{ "sendToMaya.pythonCommandPort": 7002, "sendToMaya.mayaHost" : "127.0.0.1" } and restart the extension.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft