API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::findActiveLayout Method
OdDbDatabase::findActiveLayout Method
Syntax
C++
virtual OdString findActiveLayout(bool allowModel) const;
Parameters 
Description 
bool allowModel 
[in] If and only if true, allows the ModelSpace layout name to be returned. 

Returns the name of the active layout of this database object. 

 

If allowModel == false, an empty string will be returned if the active layout is ModelSpace.

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