Second, build the programming environment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.