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.

TD_Db 

 

 
Name 
Description 
 
This is OdDbLayerFilter, a member of class OdDbLayerFilter. 
 
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. 
 
This is ODDB_DECLARE_MEMBERS, a member of class OdDbLayerFilter. 
 
Removes the specified layer name from this LayerFilter object.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.