CVPORT (System Variable)

Displays the identification number of the current viewport.

Type:Integer
Saved in:Drawing
Initial value:2

You can change this value, which changes the current viewport, if the following conditions are met: