2011년 6월 19일 일요일

Writing scripts


The Maya Python API modules contain the classes that are available for Python programming. These classes are separated into different categories and have appropriate naming conventions to signify their association. Classes include:

MFn
Any class with this prefix is a function set used to operate on MObjects of a particular type.

MIt
These classes are iterators and work on MObjects similar to the way a function set does. For example, MItCurveCV is used to operate on an individual NURBS curve CV (there is no MFnNurbsCurveCV), or, iteratively, on all the CVs of a curve.

MPx
Classes with this prefix are all "Proxies", that is, API classes designed for you to derive from and create your own object types.

댓글 없음: