# useArchives.rman
rman "-version 1" {
  
Declare param {string ua_path} {
    label "Rib Archive"
    description "No description."
    subtype file
    range {*.rib}
    }
    
Declare param {int ua_mode} {
    label "Mode"
    subtype selector
    range {
        "Normal"     0
        "Animation"  1
        "Random"   2
        }
    }
Declare param {int ua_offset} {
    label "Animation Offset"
    subtype slider
    range {0 25 1}
    description "No description."
    }
  
# The Collection and NodeOptions blocks enable a Pre-Shape MEL script
# to be assigned to "RenderMan Controls->Geometric Settings" panel.
Collection ua_OptionalGeometricSettings {
    param ua_path {
        default ""
        state optional
        }
    param ua_mode {
        default 0
        state optional
        }
    param ua_offset {
        default 0
        state optional
        }
    }
  
NodeOptions {kGeometric kParticle} {
       reference Collection optionalGeometricSettings
       reference Collection ua_OptionalGeometricSettings
    }
  
}