API Reference > OdDb Classes > OdDbDictionary Class > OdDbDictionary Methods > OdDbDictionary::setAt Method
OdDbDictionary::setAt Method
Syntax
C++
OdDbObjectId setAt(const OdString& name, OdDbObject* newValue);
Parameters 
Description 
const OdString& name 
[in] Name of entry to be changed.  
OdDbObject* newValue 
[in] Database object to be added. 

Returns the Object ID of the newly added entry. 

If an entry the specified name exists in the dictionary, it is erased, and a new entry created. 

If an entry for this name does not exist in this dictionary, a new entry is created. 

 

Sets the value for the specified entry in this Dictionary object.

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