/ Generated by Cutter v7.0.2 at 10:28:17 on the 10.6.2015.
// The source document on which this mel script is based is,
//    "/home/mshari20/mount/stuhome/maya/projects/RfM_mel/treeUI.rman"
// Cutter software by Malcolm Kesson (all rights reserved).
//
// Pre Shape User Interface (UI) Mel Script
//
global proc treeUI() 
{
string $selected[] = `ls -sl`;
int $i;
  
for( $i=0; $i < size($selected); $i++ ) 
    {
    string $attr = `rmanGetAttrName "postTransformScript"`;
    string $transformName = $selected[$i];
  
    // "Connect" to the mel script that calls 
    // Pixar's custom Ri mel procedures.
    rmanAddAttr $transformName $attr "treeRI";
        
    $attr = `rmanGetAttrName "ss_radius"`;
    rmanAddAttr $transformName $attr "0.3";
  
    $attr = `rmanGetAttrName "ss_random"`;
    rmanAddAttr $transformName $attr "0.7";
  
    $attr = `rmanGetAttrName "ss_density"`;
    rmanAddAttr $transformName $attr "0.7";
  
    }
}