API Reference > OdDb Classes > OdDbBlockTable Class > OdDbBlockTable Methods > OdDbBlockTable::add Method
OdDbBlockTable::add Method
Syntax
C++
virtual OdDbObjectId add(OdDbSymbolTableRecord* pRecord);
Parameters 
Description 
OdDbSymbolTableRecord* pRecord 
[in] Pointer to the existing named record object to be added. 

Returns the Object ID of the added record object.

Adds the specified named record object to the predefined table object. 

 

The record object must be created and must be named before adding. Use the static pseudo-constructor createObject() for creating an instance of the specific record. The predefined table object excludes duplicates of records.

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