Table of Contents

Enum CadFilterProperty

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What a line of an object selection filter tests, as the Select Filter list of AutoCAD 2021's FILTER names it: a property of an object, or the begin or end of a group (AND, OR, XOR, NOT) of lines. Points are in world coordinates, angles in degrees, lengths in drawing units.

public enum CadFilterProperty

Fields

Object = 0

The kind of the object, as the Properties panel names it (Line, Circle, MText) or AutoCAD's filter list does (Arc, Block, Polyline).

Layer = 1

The layer, a name or a wild-card pattern: WALL*.

Color = 2

The colour by its index: 1 to 255, 256 ByLayer, 0 ByBlock; tested with =, !=, <, <=, > and >=.

Linetype = 3

The linetype by name, ByLayer and ByBlock among them, or a wild-card pattern.

ArcCenter = 4

The centre of an arc (X, Y, Z).

ArcRadius = 5

The radius of an arc.

AttributePosition = 6

The insertion point of an attribute definition (X, Y, Z).

AttributeTag = 7

The tag of an attribute definition, a name or a pattern.

BlockName = 8

The name of the block a block reference inserts, a name or a pattern.

BlockPosition = 9

The insertion point of a block reference (X, Y, Z).

BlockRotation = 10

The rotation of a block reference, in degrees.

CircleCenter = 11

The centre of a circle (X, Y, Z).

CircleRadius = 12

The radius of a circle.

DimensionStyle = 13

The dimension style of a dimension, a name or a pattern.

Elevation = 14

The elevation of a polyline or a hatch.

EllipseCenter = 15

The centre of an ellipse (X, Y, Z).

HatchPatternName = 16

The pattern name of a hatch, a name or a pattern.

ImagePosition = 17

The insertion point of a raster image (X, Y, Z).

LinetypeScale = 18

The linetype scale of an object.

LineStart = 19

The start of a line (X, Y, Z).

LineEnd = 20

The end of a line (X, Y, Z).

NormalVector = 21

The normal of a flat object (X, Y, Z).

PointPosition = 22

The position of a point object (X, Y, Z).

TextPosition = 23

The insertion point of a text or an MTEXT (X, Y, Z).

TextValue = 24

The words of a text or an MTEXT, a text or a pattern.

TextStyleName = 25

The text style of a text or an MTEXT, a name or a pattern.

TextHeight = 26

The height of a text or an MTEXT.

TextRotation = 27

The rotation of a text or an MTEXT, in degrees.

Thickness = 28

The thickness of an object.

ViewportCenter = 29

The centre of a viewport on its sheet (X, Y, Z).

XdataId = 30

The name of an application that has extended data on the object, a name or a pattern.

BeginAnd = 31

The start of an AND group: every operand up to its end has to hold.

EndAnd = 32

The end of an AND group.

BeginOr = 33

The start of an OR group: one operand at least has to hold.

EndOr = 34

The end of an OR group.

BeginXor = 35

The start of an XOR group of two operands: exactly one has to hold.

EndXor = 36

The end of an XOR group.

BeginNot = 37

The start of a NOT group of one operand: it must not hold.

EndNot = 38

The end of a NOT group.

MultilineStyle = 39

The name of the style of an MLINE (MultiLine Style), a name or a pattern.

ShapePosition = 40

The insertion point of a shape (X, Y, Z).

ShapeName = 41

The name of a shape, a name or a pattern.

Transparency = 42

How much the object lets show through it, as the Properties palette says it: a whole number of per cent from 0 to 90, ByLayer or ByBlock; tested with =, !=, <, <=, > and >=, ByLayer below ByBlock below 0.