def update_modelgrid(self):
    if (self._modelgrid is not None):
        self._modelgrid = Grid(proj4=self._modelgrid.proj4, xoff=self._modelgrid.xoffset, yoff=self._modelgrid.yoffset, angrot=self._modelgrid.angrot)
    self._mg_resync = True
def update_modelgrid(self):
    if (self._modelgrid is not None):
        self._modelgrid = Grid(proj4=self._modelgrid.proj4, xoff=self._modelgrid.xoffset, yoff=self._modelgrid.yoffset, angrot=self._modelgrid.angrot)
    self._mg_resync = True