API Reference > OdDbRoot Classes > OdDbBaseDatabasePE Class > OdDbBaseDatabasePE Methods > OdDbBaseDatabasePE::currentLayout Method
OdDbBaseDatabasePE::currentLayout Method
Syntax
C++
inline OdRxObjectPtr currentLayout(OdDbBaseDatabase* pDb);
Parameters 
Description 
OdDbBaseDatabase* pDb 
[in] A pointer to a database. 

Returns the current layout for the specified database.

In this case the term "layout" means an abstraction that corresponds to a "sheet" in a sheet set manager, "page" in a .pdf or .dwf file, and "layout"+"block table record" in a .dwg file.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.