Share

AcDbDatabase::getViewportArray

C++

Acad::ErrorStatus getViewportArray(
    AcDbObjectIdArray& vportIds, 
    bool bGetPaperspaceVports = true
) const;

Description

This function enumerates the AcDbViewports in a drawing. These are the viewports in layouts, in other words, tilemode 0.

Parameters

Parameters Description
vportIds Output array of object IDs for the viewports in the database
bGetPaperspaceVports Input flag indicating whether to return paperspace viewports associated with layouts

Links

AcDbDatabase Class

Was this information helpful?