pymel.util.mathutils.setRange

setRange(x=0.0, oldmin=0.0, oldmax=1.0, newmin=0.0, newmax=1.0)

Resets x range from x linear interpolation of oldmin to oldmax to x linear interpolation from newmin to newmax

Return type:float