rman "-version 1" {
  
Declare param {int wyvill_maxEdges} {
    label "Max Edge Count"
    subtype slider
    range {10 500 10}
    description "Normally 200 is OK."
    }
Declare param {string wyvill_cacheName} {
    label "Data Name"
    description "Should be unique to the data."
    }
  
Declare param {int wyvill_cacheMode} {
    label "Cache Mode"
    subtype selector
    range {
        "Bake"   0
        "Read"   1
        "Ignore" 2
        }
    }
Declare param {int wyvill_renderMode} {
    label "Render Mode"
    subtype selector
    range {
        "Invisible"   0
        "Visible"     1
        "Wireframe"   2
        }
    }
    
Declare param {float wyvill_thickness} {
    label "Wireframe Thickness"
    subtype slider
    range {0.001 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 we_OptionalGeometricSettings {
    param wyvill_maxEdges {
        default 200
        state optional
        }
    param wyvill_cacheName {
        default "object_name"
        state optional
        }
    param wyvill_cacheMode {
        default 0
        state optional
        }
    param wyvill_renderMode {
        default 0
        state optional
        }
    param wyvill_thickness {
        default 0.02
        state optional
        }
    }
  
NodeOptions {kGeometric kParticle} {
       reference Collection optionalGeometricSettings
       reference Collection we_OptionalGeometricSettings
    }
}