Share

acedActiveViewportId

C++

AcDbObjectId acedActiveViewportId();

File

aced.h

Description

Returns the object ID of the viewport that is currently active in the editor. In tilemode, it returns the ID is of a viewport table record. In layout mode, returns the object ID of a viewport entity .

Returns a null object ID if no document is open.

Was this information helpful?