Mixing PyMel, Python And Maya API (PyMel and Python)
Intelligent use of PyMel , Python and Maya API together can optimize the code.
Class Attributes, Instance Attributes And Local Variables (Python)
Understanding the structure of attributes and variables in a class.
Instantiating A Maya Node In PyMel (PyMel)
What is better way to instantiate a maya node in PyMel.
Omitting If, Else Statemets with Dictionary (Python)
Dictionary key, value pair can be used to omit if, else conditional statements.
Search A Sub-string In Parent String (Python)
There are many ways to find a sub-string. Namely, index method, find method or in keyword. Which is the most efficient way out of three?
Checking the None with the identity or comparison operator (Python)
Which is the better way to check None, with value(==, !=) comparison or identity(is, is not ) comparison.
How To Get The Compound Attribute In Maya Using Python (Python)
Compound attributes has multiple sub-attributes split by '.' . Which is the better way to extract attribute part from its node part.
Extended Slice, Getting Items From Sequence (Python)
Through slicing we can smartly extract items from sequences by availing the third parameter of the slicing operator.