Added riGetGridDimensions
p4#: 21664