API Reference > OdDb Classes > OdDbObjectContextPE Class > OdDbObjectContextPE Methods > OdDbObjectContextPE::addContext Method
OdDbObjectContextPE::addContext Method
Syntax
C++
virtual OdResult addContext(OdDbObject*, const OdDbObjectContext&) const;
Parameters 
Description 
pObject 
[in] Pointer to the object.  
context 
[in] Name of the context to add. 

Returns eOk if successful, or an appropriate error code if not.

Adds a context to the specified object. 

 

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