Accessing parameter AsValueString not AsInteger

You’ll need to access that via scripting. What version of Rhino/Revit are you using?