API Reference > OdDb Classes > OdDbLayerFilter Class
OdDbLayerFilter Class
OdDbLayerFilterOdDbLayerFilterOdDbLayerFilter
Syntax
C++
class OdDbLayerFilter : public OdDbFilter;

DbLayerFilter.h

This class implements LayerFilter objects in an OdDbDatabase instance. 

 

A LayerFilter is a set of layers whose corresponding entities are traversed during filtered block traversal. 

LayerFilter objects objects may optionally be saved in the drawing database for efficient Xref demand loading.

 
Name 
Description 
 
 
 
Name 
Description 
 
add 
Adds the specified layer name to this LayerFilter object.
 
 
Reads the .dwg file data of this object.
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns the layer name associated with the specified index in this LayerFilter object.
 
 
Returns the class descriptor of the OdDbIndex for this Filter object. 
 
Returns true if and only if all the layer names in this LayerFilter object are present in the specified OdDbDatabase.
 
 
Returns the number of layers stored in this LayerFilter object. 
 
 
 
Removes the specified layer name from this LayerFilter object.
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.