Grid Gap - View specific extent

Hi everyone,

Is there a class or a method or a propertie in the Revit API that allow you to drag “programmatically” the extent of one side of a grid gap ?

image

I know that in the GridType there`s a parameter for both side but if a user play with one side, its doesn’t work anymore.

I’ve looked in the dir / Grid Class / GridType Class / DatumPlane Class and couldn’t find what I was looking for …