Title Image

Maya API: Python to C++

Level:
Advanced
Software:
Maya (2018+), Visual Studio
Language:
C++
Duration:
2 hour 9 minutes
Instructor:
Chris Zurbrigg

Become a Patron!

Overview

A series designed for anyone who is familiar with the Maya Python API and would like to transition to the native C++ API to create, or port, Maya plugins.
* This is a Patreon series. Project files and videos marked with a Patreon logo are Total Access exclusives.

Videos

11 Videos (2 hour 9 minutes)

00 - Introduction

A short overview of this series, the course requirements and what viewers can expect in the upcoming lessons.

01 - Build Environment Overview

An overview of the build environment requirements to create C++ plugins for Maya including build tools, compiler requirements and software/sdk versions.

02 - Installing Visual Studio

A walkthrough of the Visual Studio installation process to ensure the correct environment and build tools are installed for Maya development.

03 - Creating a Maya Plugin Project

A step-by-step guide walking through the complete setup of a Visual Studio project for building Maya plug-ins on Windows. A supplemental pdf document is included in the project files.

04 - Empty Maya Plugin

An example implementing the minimum code required to load and unload a C++ plugin in Maya.

05 - Example Projects

Details on building the example projects and the configuration changes required for different versions of Maya.

06 - Improving Build Workflow

Automate the process of moving new plugin builds to Maya's plugin directory using post-build events.

07 - HelloWorld Command (Part 1)

Building on the EmptyPlugin example, this lesson walks through the implementation of a simple command using the C++ API.

08 - HelloWorld Command (Part 2)

Wrapping up the HelloWorld command example, the command is registered with the plugin and an alternate method of outputting text is introduced.

09 - Common Build Errors

A look at some common build errors that may occur during the development of C++ plugins for Maya.

10 - MStatus

An overview of the MStatus class — what it is and how it can be used to detect and interpret various API errors.

Additional Videos Coming Soon...

Related Courses