Class CadObjectFilter
What GetObjects(CadObjectFilter) asks for: the objects of one kind, on one layer, in one space. A member left null does not narrow the answer, so an empty filter is every object of the drawing's model space and layouts.
public sealed class CadObjectFilter
- Inheritance
-
CadObjectFilter
- Inherited Members
Examples
// The lines of layer Steel in model space.
var filter = new CadObjectFilter { Kind = typeof(DxfLine), Layer = "Steel", Layout = "Model" };
Properties
- Kind
Gets or sets the kind of object, a class of the library's entities:
typeof(DxfLine)is the lines,typeof(DxfDimension)every dimension, rotated, aligned, radial and the rest. Null, the default, is every kind.
- Layer
Gets or sets the name of the layer the objects are on, compared without regard to case; null for every layer.
- Layout
Gets or sets the space the objects are in:
Modelfor model space, or the name of a layout, compared without regard to case. Null, the default, is model space and every layout.