In Maya, many built-in commands support any of three modes: create, edit, and query. Although it may not be immediately obvious, each of these modes has some particularities that set them apart, and which consequently require some extra effort on the part of the programmer to support. Maya does have some built-in support, which is presently only partially functional, so it is helpful to understand what it actually gains you to use it and work around its issues.
(more…)
Archive for January, 2010
MSyntax.enableQuery() and MSyntax.enableEdit() Break Object Parsing
Tuesday, January 12th, 2010AM Tools 1.01
Saturday, January 2nd, 2010I just uploaded version 1.01 of my AM Tools Python package today, which you can of course download from the Maya tools section. You can look through the files to see all of the changes that I made, but here are some of the major highlights.
- amInsertParents is now a Python command. I have therefore retired the old MEL version.
- Added API Debug Mode to menu. Enabling this mode overrides some Maya Python API classes for debugging. For this release, this mode overrides the __str__() functionality of MMatrix and MVector.
- Substantially improved a number of utility functions for validating input.
- Added validation for custom plug-ins.
- Fixed some language-related bugs that existed for Maya 8.5.
As always, please let me know if you have any problems or other feedback!