rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Functions | |
def | get_plug_value |
Simplify a number of common maya tasks.
def rfm2.utils.maya_attr.get_plug_value | ( | plug, | |
index = None |
|||
) |
A generic function to get a plug's data without knowing the underlying data type. Handles arrays and compounds. Args: - plug: a valid MPlug object. Kwargs: - index: if passed an array plug, use the index to get the value of a specific array member, otherwise return the entire array.