Getting Started with Python Scripting in Maya
Welcome to this tutorial that is designed to get you up to speed with Python scripting in Maya. Software required: Autodesk Maya 2014.
What you'll learn
Welcome to this tutorial that is designed to get you up to speed with Python scripting in Maya. We'll start this training by learning basic Python syntax for printing code and running MEL commands. We'll then learn how to create variables and work with various types and concatenations. We'll even learn how to create Lists, For Loops, and Windows so that we can get comfortable with building tools of our own that we and other artists can use to be more efficient inside of Maya. By the end of this tutorial, you will have the foundation you need to work comfortably with Python in Maya. Software required: Autodesk Maya 2014.
Table of contents
- Your First Python Script 7m
- Running Maya Commands in Python 8m
- Specifying Flag Values in Python Commands 6m
- Transforming Objects in Python 5m
- Converting Mel Commands That Are Designed to Work a Certain Way 6m
- Variables 6m
- Concatenating Your Python Code and Working with Various Types 8m
- Lists and Arrays 6m
- Creating 'for' Loops 5m
- Changing the Properties of Items Inside of a 'for' Loop 6m
- Creating Our Object Alignment Tool 7m
- Building a Window for Our Object Aligner 11m
- Preventing the Duplication of Windows 5m
- Generating Objects Along the Cvs of a Curve 13m