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 = 0The kind of the object, as the Properties panel names it (Line, Circle, MText) or AutoCAD's filter list does (Arc, Block, Polyline).
Layer = 1The layer, a name or a wild-card pattern:
WALL*.Color = 2The colour by its index: 1 to 255, 256 ByLayer, 0 ByBlock; tested with =, !=, <, <=, > and >=.
Linetype = 3The linetype by name, ByLayer and ByBlock among them, or a wild-card pattern.
ArcCenter = 4The centre of an arc (X, Y, Z).
ArcRadius = 5The radius of an arc.
AttributePosition = 6The insertion point of an attribute definition (X, Y, Z).
AttributeTag = 7The tag of an attribute definition, a name or a pattern.
BlockName = 8The name of the block a block reference inserts, a name or a pattern.
BlockPosition = 9The insertion point of a block reference (X, Y, Z).
BlockRotation = 10The rotation of a block reference, in degrees.
CircleCenter = 11The centre of a circle (X, Y, Z).
CircleRadius = 12The radius of a circle.
DimensionStyle = 13The dimension style of a dimension, a name or a pattern.
Elevation = 14The elevation of a polyline or a hatch.
EllipseCenter = 15The centre of an ellipse (X, Y, Z).
HatchPatternName = 16The pattern name of a hatch, a name or a pattern.
ImagePosition = 17The insertion point of a raster image (X, Y, Z).
LinetypeScale = 18The linetype scale of an object.
LineStart = 19The start of a line (X, Y, Z).
LineEnd = 20The end of a line (X, Y, Z).
NormalVector = 21The normal of a flat object (X, Y, Z).
PointPosition = 22The position of a point object (X, Y, Z).
TextPosition = 23The insertion point of a text or an MTEXT (X, Y, Z).
TextValue = 24The words of a text or an MTEXT, a text or a pattern.
TextStyleName = 25The text style of a text or an MTEXT, a name or a pattern.
TextHeight = 26The height of a text or an MTEXT.
TextRotation = 27The rotation of a text or an MTEXT, in degrees.
Thickness = 28The thickness of an object.
ViewportCenter = 29The centre of a viewport on its sheet (X, Y, Z).
XdataId = 30The name of an application that has extended data on the object, a name or a pattern.
BeginAnd = 31The start of an AND group: every operand up to its end has to hold.
EndAnd = 32The end of an AND group.
BeginOr = 33The start of an OR group: one operand at least has to hold.
EndOr = 34The end of an OR group.
BeginXor = 35The start of an XOR group of two operands: exactly one has to hold.
EndXor = 36The end of an XOR group.
BeginNot = 37The start of a NOT group of one operand: it must not hold.
EndNot = 38The end of a NOT group.
MultilineStyle = 39The name of the style of an MLINE (MultiLine Style), a name or a pattern.
ShapePosition = 40The insertion point of a shape (X, Y, Z).
ShapeName = 41The name of a shape, a name or a pattern.
Transparency = 42How much the object lets show through it, as the Properties palette says it: a whole number of per cent from 0 to 90,
ByLayerorByBlock; tested with =, !=, <, <=, > and >=, ByLayer below ByBlock below 0.