Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Maya linkNew to Visual Studio Code? Get it now.
Maya link

Maya link

IvanCuenca

|
1 install
| (0) | Free
Connect to different Maya instances from VS Code using maya.cmds.commandPort
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Maya link

Disclaimer: Maya link is an independent, MIT-licensed open-source project. It is not affiliated with, endorsed by, sponsored by, or supported by Autodesk or Microsoft, and it is not part of Maya or Visual Studio Code.

Connect to Autodesk Maya from VS Code over maya.cmds.commandPort. See your open instances in the sidebar, connect/disconnect and send Python from the editor.

Setup

  1. In VS Code run Maya link: Copy Setup Script
  2. Paste it into Maya's Script Editor (Python tab) and run it or copy it to the userSetup.py and forget about it
  3. Click the Maya link icon in the Activity Bar

The panel scans ports 7000–7100 automatically, so it fills in on its own.

Commands

Command What it does
Maya link: Refresh Rescan for Maya instances
Maya link: Send Python to Maya Send the editor selection, or the whole file if nothing is selected
Maya link: Copy Setup Script Copy the Python setup snippet to the clipboard
Maya link: Show Setup Script Open the snippet as a Python document

Only one instance is connected at a time. The choice is stored per workspace.

The console icon on each card opens a console for that instance showing its Script Editor output. Open as many as you need — one per Maya. On Linux and macOS they are read-only: select and copy as normal, stray keys do nothing. On Windows, Ctrl+C stops a console and anything you type runs.

The target icon will send a ping to the maya so you can detect if the maya you want to send the code is the correct one before connecting.

Developing

Project layout, build steps and internal notes DEVELOPING.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft