rfm2  22.0
A python-based rewrite of RenderMan for Maya
 All Classes Namespaces Files Functions Variables Pages
rfm2.utils.maya_attr Namespace Reference

Functions

def get_plug_value
 

Detailed Description

Simplify a number of common maya tasks.

Function Documentation

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.

+ Here is the call graph for this function: