/
// Post Transform User Interface (UI) Mel Script
//
global proc batUI() 
{
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 "batRI";
    
    $attr = `rmanGetAttrName "bat_rad"`;
    rmanAddAttr $transformName $attr "0.1";
  
    $attr = `rmanGetAttrName "bat_jitter"`;
    rmanAddAttr $transformName $attr "0.1";
    
    }
}