API Reference > OdDb Classes > OdDbLayout Class > OdDbLayout Methods > OdDbLayout::addToLayoutDict Method
OdDbLayout::addToLayoutDict Method
Syntax
C++
virtual void addToLayoutDict(OdDbDatabase* pDb, OdDbObjectId blockTableRecordId);
Parameters 
Description 
OdDbDatabase* pDb 
[in] Pointer to the database  
OdDbObjectId blockTableRecordId 
[in] Block table record Object Id. 

Adds this Layout object to the layout dictionary in the specified database, and associates this Layout object with the specified PaperSpace OdDbBlockTableRecord. 

 

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