API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::createLayout Method
OdDbDatabase::createLayout Method
Syntax
C++
virtual OdDbObjectId createLayout(const OdString& layoutName, OdDbObjectId* pBlockTableRecId = 0);
Parameters 
Description 
const OdString& layoutName 
[in] Layout name.  
OdDbObjectId* pBlockTableRecId = 0 
[in] Pointer to the BlockTableRecID to receive the object ID of the new BlockTableRecord object. 

Creates a new layout with the specified name in this database object.

The newly created layout is added to this database object along with its newly created associated OdDbBlockTableRecord. 

 

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