rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Classes | |
class | UserAttrWidget |
Functions | |
def | user_attrs_add |
def | user_attrs_del |
def | user_attrs |
Variables | |
list | LIMITED_TYPES = ['float', 'int'] |
list | WIDGETS_WITH_OPTIONS = [kk.W_MAPPER, kk.W_FILEINPUT, kk.W_POPUP] |
Create a user attribute section in the AE.
def rfm2.ui.user_attrs.user_attrs | ( | node | ) |
Return a list of user attributes for a given node. User Args: - node (str): The node to be considered.
def rfm2.ui.user_attrs.user_attrs_add | ( | data_attr, | |
nodelist, | |||
pdict | |||
) |
Create a constant user attribute on every node of the ndoe list. The attribute is parameterized by pdict. Each node has a metadata string attribute that will be updated with the new param description. Args: - data_attr (str): name of the metadata attribute - nodelist (list): list of maya nodes - pdict (dict): param dict used to init a NodeDescParamJSON object.
def rfm2.ui.user_attrs.user_attrs_del | ( | data_attr, | |
nodelist, | |||
attrlist | |||
) |
Delete one or more user attributes on one or more nodes and updates the metadata stored in data_attr. Args: - data_attr (str): name of the metadata attribute - nodelist (list): list of maya nodes - attrlist (list): list of attributes to delete
list rfm2.ui.user_attrs.LIMITED_TYPES = ['float', 'int'] |
list rfm2.ui.user_attrs.WIDGETS_WITH_OPTIONS = [kk.W_MAPPER, kk.W_FILEINPUT, kk.W_POPUP] |