INTERESTED IN THIS COURSE?

This course is closed for enrollments, submit the form to get notified early next time this course runs.

Thank you for your interest, you will be notified next time this course runs.

Oops, something went wrong:

Manage subscriptions
  • Difficulty Level:

    workshop-level-i I
    intermediate
  • Keywords: PROGRAMMING

COURSE OVERVIEW

Class Format:
Length: 8 Weeks
Lectures: Pre-Recorded each week
Assignment: Deadlines each week
Feedback: Individually recorded
No Q&As

 

COURSE OVERVIEW

For some disciplines such as rigging and fx, knowing how to script is essential, but that does not mean that scripting isn't also useful for other areas such as modelling, animation or lighting. Knowing how to script will allow you to write your own tools
for repetitive, mundane and boring tasks, extend Mayas capabilities and speed up your own, personal workflow, so that you can focus more on other aspects such as creating art.

Starting with MEL the first thing that we will look at are the basic concepts such as variables, procedures, loops and if­else statements that apply to many scripting and programming languages followed by a look at some UI commands, so that even somebody that has never scripted before, will be able to follow along.

After that we will get our hands dirty and start writing some useful tools for Maya, that can speed up your workflow and that will function as showcases of what is possible, while learning useful commands and techniques for writing your own scripts.

In the last three weeks we will take a look at python, pyqt and at the end of the course, we'll take a peek into python API which allows you to write your own plugins and deformers.

Starting quite basic, but then getting to a more intermediate level, this course is for everybody, from total newbie to people that already have some mid­level experience with scripting.

If you have always wanted to script but never knew where to start or if you already know a bit about scripting, but want to know more about tool writing and best practices as well as get an indepth look at some of the guts in Maya, then this course if for you.

Classroom Access Policy

CGMA policy states that all students will have access to classroom content for the duration of the class plus 4 weeks to review content. After this time is up classroom content will no longer be available.

For those classes with live Q&As, Q&A recordings as well as feedback recordings will be available for up to 6 months after the class is complete.

Certificate of Completion Policy

CGMA policy allows students to miss up to 2 assignments per class before they become ineligible to receive their Certificate of Completion.

WEEK BY WEEK OUTLINE

Week 1 - Getting Started

  • ScriptEditor.
  • Input vs Output.
  • Print command.
  • Select command.
  • Where to get help.
  • Documentation examples.
  • Syntax.
  • External texteditors.
  • Sublime, jedit, nedit, textpad.
  • Syntax highlighting.
  • Line numbers.
  • Errors.

Week 2 - More to know

  • Variables.
  • Procedures.
  • Arguments.
  • For­loops.
  • If­else statements.
  • UI commands.

Week 3 - Starting to write script

  • Tool development.
  • Pseudo code.
  • Documenting.
  • Writing a script that will reset all controls of a character.
  • Writing a scatter / randomize script (based on selection).
  • Writing a mirror script.

Week 4 - More writing

  • TextScrollList with a good filter.
  • Write a rename script based on selection.
  • Write a script that will list all influences of a skinCluster and allow filtering.

Week 5 - ScriptJobs

  • ScriptJobs in Maya.
  • Looking at different events for scriptJobs.
  • Writing a script and a scriptjob.
  • Writing a particle fx script?

Week 6 - Python

  • Python syntax.
  • Classes.
  • Def.
  • Dictionaries.
  • String manipulation.

Week 7 - PyQt

  • PyQt.
  • How to install PyQt.
  • qtdesigner.
  • Building an interface in PyQt.

Week 8 - And lastly...

  • Python api.
  • Nodes.
  • Deformers.
  • Locators.

WHAT YOU'LL NEED

Software required

Maya (2014 or up is recommended but any version will work)