API Reference > OdDb Classes > OdDbViewportTable Class > OdDbViewportTable Methods > OdDbViewportTable::add Method
OdDbViewportTable::add Method
Syntax
C++
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.