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

Adds the specified named record object to the predefined table object and returns the Object ID of the added record 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.

Adding 

OdError_DuplicateRecordName class

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