API Reference > Namespaces > OdDbIndexFilterManager Namespace > Functions > OdDbIndexFilterManager::addFilter Function
OdDbIndexFilterManager::addFilter Function
Syntax
C++
TOOLKIT_EXPORT void addFilter(OdDbBlockReference* pBlkRef, OdDbFilter* pFilter);

DbIndex.h

Parameters 
Description 
OdDbBlockReference* pBlkRef 
[in] Pointer to the block reference entity.  
OdDbFilter* pFilter 
[in] Pointer to the Filter object. 

Adds the specified Filter object to the specified block reference entity. 

 

An filter of the same OdRxClass as the specified filter will be deleted.

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