code: def setZoom(self, viewID, zoom):
          
          self._connection._sendDoubleCmd(
              tc.CMD_SET_GUI_VARIABLE, tc.VAR_VIEW_ZOOM, viewID, zoom)
docs: setZoom(string, double) -> None
  
          Set the current zoom factor for the given view.