VIEWMODE (System Variable)

Stores the View mode for the current viewport.

(Read-only)
Type:Integer
Saved in:Drawing
Initial value: 0

The setting is stored as a bitcode using the sum of the following values:

0

Turned off.

1

Perspective view active.

2

Front clipping on

4

Back clipping on.

8

UCS Follow mode on.

16