Finding and Identifying Samples

There are four types of samples included in the Maya devkit. All samples can be found under the devkit directory in devkitBase.

  1. C++ plug-ins. These compiled plug-ins are located in the plug-ins directory.

  2. Python scripted plug-ins. These scripts are located in the scripted directory under plug-ins. Samples beginning in "py" use Maya Python API 2.0. All other samples use Maya Python API 1.0.

  3. C# plug-ins. These compiled plug-ins are located in the dotnet folder.

  4. Standalone applications. These applications make API calls to access Maya in batch mode. Samples are located in the applications directory. A sample standalone Python script is available under the scripted subdirectory.

Important: Some samples require third-party libraries to compile or run. Most notably, any plug-in sample that begins with abc cannot be built without additional libraries not included with Maya. Do not attempt to build these samples.

Sample Naming Conventions

The following naming convention is used for the samples.

SuffixDescription

Cmd

Plug-ins that create new commands.

Tool

Plug-ins that create new interactive tools.

Node

Plug-ins that create new node types.

Translator

Plug-ins that create new file translators.

Shader

Plug-ins that create new shading nodes.

Manip

Plug-ins that create new manipulators.

Field

Plug-ins that create new dynamic fields.

Emitter

Plug-ins that create new dynamic emitters.

Spring

Plug-ins that create new dynamic springs.

Shape

Plug-ins that create new shapes.

Shader

Plug-ins that create shader nodes.