Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbObjectContextCollection::removeContext Method
Syntax
C++
virtual OdResult removeContext(const OdString& contextName) = 0;

Removes a context from the context collection. 

 

Parameters
Description
contextName
[in] Name of the context to delete from the context collection.

To remove the current context from a collection, first make a different context current, then delete the desired context. Returns eOk if successful, or an appropriate error code if not.

Copyright © 2002-2022. Open Design Alliance All rights reserved.