1. Two different ways:
(1) Plugin: example in: C:\Program files\autodesk\maya2015\devkit\plug-ins
(2) Standalone API Application:c:\program files\autodesk\maya2015\devkit\applications
2. Plugin
3. Maya API Application:
In your plug-in directory, create 3 folders: plug-ins, scripts, and icons.
Place your plug-in files in the /plug-ins folder.
If your plug-in contains scripts, place your scripts files in the /scripts folder.
If your plug-in contains icons, place your icon files in the /icons folder.
Define the following environment variables in a file called maya.env:
- Maya_plug_in_path-directory to search for plug-ins. Set this to your /plug-ins folder.
- Maya_script_path-directory to search for MEL and Python scripts. Set this to your /scripts folder.
- Xbmlangpath-directory to search for icons. Set this to your /icons folder.
The location where the maya.env file is stored is different in every environment, and can be see help. Using maya.env makes it easy-to-set up the same runtime environment on another system by simply copying the file. can also yongming These environment variables are set directly by the row.
It doesn't seem to be used at the moment, icon or anything. Again.
Second, build the programming environment