static void BumpOccupancy( Element e )
{
Parameter p = e.get_Parameter(
BuiltInParameter.ROOM_OCCUPANCY );
if( null == p )
{
Debug.Print(
"{0} has no room occupancy parameter.",
Util.ElementDescription( e ) );
}
else
{
string occupancy = p.AsString();
string newOccupancy = BumpStringSuffix(
occupancy );
p.Set( newOccupancy );
}
}