Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Or they can be named like optional riattrs: rman__riattr__namespace_varname (eg. rman__riattr__user_foo)
The latter format infers the type based on the attribute type in Maya, and it also can be used to add arbitrary optional riattrs, eg. rman__riattr__trace_maxspeculardepth

Code Block
rfm2.ui.user_attrs.user_attrs_add(data_attr, nodelist, pdict) -> add to one or more nodes

rfm2.ui.user_attrs.user_attrs_del(data_attr, nodelist, attrlist) -> delete from one or more nodes

rfm2.ui.user_attrs.user_attrs(node) -> list all user attributes

We supply a menu for adding user attributes to the transform node in Maya as shown below. All other renderer attributes are provided above this rollout, such as Motion Samples, Intersection Priority, LPE Groups, and more.

...