API Reference > OdDb Classes > OdDbObjectContextBlkRefPE Class > OdDbObjectContextBlkRefPE Methods > OdDbObjectContextBlkRefPE::addContext Method
OdDbObjectContextBlkRefPE::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–2020. Open Design Alliance. All rights reserved.