Page tree

Versions Compared


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


If your procedural takes an arbitrary list of parameters, you can use your procedural node's "rman_preShapeScript"/"rman_preShapePythonScript" attributes to run a script that will set your nodes "man_data" attribute with the appropriate arguments:

Code Block
<args format="1.0">
    <page name="Parameters" open="True">
        <param name="__dsoname" type="string" default="" match="-none-"/>
        <param name="data" type="string" default="" match="rman_data"/>
        <tag value="procedural"/>
    <rfmdata classification="RenderMan/procedural"/>

If you want your preShapeScript to take the node's name as an argument, you can use string substitution tokens. For example, if your python function is called versatileProcPreShape, enter: "versatileProcPreShape('<shapepath>')

Example Download

An example Maya plug-in with RenderMan procedural integration: