Share

acdbGetCurVportId

C++

AcDbObjectId acdbGetCurVportId(
    AcDbDatabase* pDb
);

File

dbxutil.h

Description

This function returns the object ID of the AcDbViewport that was current when the drawing was last saved.

Returns AcDbObjectId::kNull if pDb is NULL, or if the space that was current when the drawing was last saved contains no AcDbViewports, or if tilemode was set to 1 when the drawing was last saved.

Parameters

Parameters Description
pDb Input pointer to database

Was this information helpful?