Skip to content

Visual Studio

Jeff Hanna edited this page Mar 25, 2019 · 6 revisions

To add an external tool to Visual Studio activate the Tools\External Tools... menu command

This will display the External Tools dialog

In this dialog:

  • Click Add to create a new external tool.
  • In the Title box type a name for the tool. In this example "Execute Script in 3ds Max" was used as a name.
  • In the Command box type the full path to where MXSPyCOM.exe was stored on your hard drive.
  • In the Arguments box first type either -f or -s (depending on whether you want MXSPyCOM to suppress error dialogs in 3ds Max), a space, and then the Visual Studio variable name for the currently active file, which is $(ItemPath) enclosed in double quotes. e.g. -s "$(ItemPath)". The button to the right of the Arguments box will bring up a dialog listing all of the Visual Studio tool variables and their descriptions.
  • Click the OK button to close the dialog.

The new external tool will appear in the Visual Studio Tools menu

More information on creating external tools in Visual Studio can be found here.

Clone this wiki locally