def getNodeAttribute( nodeName="", attributeName="" ):

    node = PyNode( nodeName )
    cmnd = ("node."+attributeName+".get()")
    result = python(cmnd)
    return result


Pymel way of getting an attribute's value is much easier. The code
above is having some problem.

Prashant
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to