Class CadLayerFilter
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
A layer filter the drawing keeps, as AutoCAD 2021 keeps it in ACLYDICTIONARY of the layer table's extension dictionary: an XRECORD of its name (group 300) and its expression (301) for a property filter, or its layers (a 330 each) for a group filter, the filter nested in it in an ACLYDICTIONARY of its own XRECORD's extension dictionary.
public sealed class CadLayerFilter
- Inheritance
-
CadLayerFilter
- Inherited Members
Properties
- Children
Gets the filters nested in it, by name.
- Expression
Gets the expression of a property filter as the drawing keeps it; empty for a group filter.
- IsCurrent
Gets whether it is the filter AutoCAD marks as the current one (group 290), the one the layer list shows.
- IsLegacy
Gets whether only ACAD_LAYERFILTERS, the dictionary of AutoCAD 2004 and earlier, keeps it.
- Kind
Gets whether it is a property filter or a group filter.
- LayerNames
Gets the names of the layers of a group filter, by name; empty for a property filter.
- Name
Gets the name.
- Parent
Gets the filter it is nested in; null for one at the top, under All.
- Path
Gets the names from the top to this filter, as
Steel,Beams.
Methods
- ToString()
Gives the filter as a line for debugging: its path.