The plug-in wizard simplifies the construction of Maya plug-ins by providing a project template and class templates for defining:
- Command plug-ins with support for undo/redo
- Command plug-ins without support for undo/redo
- DAG node plug-ins
By default, the plug-in wizard is installed to <…>/devkit/dotnet/vswizard.
Installing the plug-in wizard
- Copy Maya CSharp plug-in.zip to the <current user>/Documents/Visual Studio 2010/Templates/ProjectTemplates/Visual C# directory.
- Copy the Maya CSharp Command with Undo.zip, Maya CSharp Command.zip, and Maya CSharp Node.zip files to the <current user>/Documents/Visual Studio 2010/Templates/ItemTemplates/Visual C# directory.
In Visual Studio, do as follows:
- Create a C# project, and select the Maya C# plug-in option.
- Right-click the project to select Add > Class, and select among three options:
- Maya C# Command
- Maya C# Command with Undo Support
- Maya C# Node