Share

AcDbLayoutManager::getActiveLayoutBTRId

C++

virtual AcDbObjectId getActiveLayoutBTRId(
    const AcDbDatabase* pDb = NULL
) = 0;

Description

This function returns the block table record id for the current AcDbLayout object. If TILEMODE is 1, then this will retrieve the *MODEL_SPACE block table record. If TILEMODE is 0, then this will retrieve the *PAPER_SPACE block table record; which represents the current paper space layout.

To retrieve the associated layout, open the returned block table record for read and then use the getLayoutId() method to retrieve the object ID of the associated layout.

Links

AcDbLayoutManager

Was this information helpful?