Sets the identification number of the current viewport. You can change this value, thereby changing the current viewport, if the following conditions are met:
The identification number you specify is that of an active viewport
A command in progress has not locked cursor movement to that viewport