In writing a script to duplicate and add variation to a model a bunch of times, I found myself wondering about "best practices" for getting descendants of a given node by name. For instance, if I've got the top node of my model copy, and I want to grab the feet to make them bigger. I know that I can do it in a MEL/maya.cmds/procedural way with ls(), or by writing a function to recursively search using getChildren(). But the pymel docs make a point about how always having to use strings instead of nodes is one of the problems pymel is meant to solve. So given that "under this hierarchy, find me node X" is such a common operation, I thought there must be a pythonic/pymelic way of doing it.Related: how come the General Pymel google group (and the pymel docs, for that matter) don't seem to have seen much activity since 2010? Is Pymel no longer actively developed?
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/9978db97-529e-4a0a-896f-dbb256426801%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Our goal is to support the 3 latest versions of Maya. At the time of this writing, that means 2008, 2009, and 2010.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/f122e606-d457-4489-844a-0d52c0e52a89%40googlegroups.com.