System Variable ACTDB

Returns the ID number of the active drawing database. A sucessful execution of a New, Open, or Close command updates the variable.

Values

-1

No drawing active

0

First drawing active

1

Second drawing active

2

Third drawing active

3

Fourth drawing active

n

n+1 drawing active

Properties

Type

Integer

Range

-1 .. n

Status

Read-Only

Related Commands

New, Open, Close

Related Variables

CVPORT