CadFilterProperty
from OpenCAD2D import CadFilterProperty
class CadFilterProperty(System.Enum) ยท CadFilterProperty in the .NET reference
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.
Values
ArcCenter
ArcCenter: ClassVar[CadFilterProperty]
The centre of an arc (X, Y, Z).
ArcRadius
ArcRadius: ClassVar[CadFilterProperty]
The radius of an arc.
AttributePosition
AttributePosition: ClassVar[CadFilterProperty]
The insertion point of an attribute definition (X, Y, Z).
AttributeTag
AttributeTag: ClassVar[CadFilterProperty]
The tag of an attribute definition, a name or a pattern.
BeginAnd
BeginAnd: ClassVar[CadFilterProperty]
The start of an AND group: every operand up to its end has to hold.
BeginNot
BeginNot: ClassVar[CadFilterProperty]
The start of a NOT group of one operand: it must not hold.
BeginOr
BeginOr: ClassVar[CadFilterProperty]
The start of an OR group: one operand at least has to hold.
BeginXor
BeginXor: ClassVar[CadFilterProperty]
The start of an XOR group of two operands: exactly one has to hold.
BlockName
BlockName: ClassVar[CadFilterProperty]
The name of the block a block reference inserts, a name or a pattern.
BlockPosition
BlockPosition: ClassVar[CadFilterProperty]
The insertion point of a block reference (X, Y, Z).
BlockRotation
BlockRotation: ClassVar[CadFilterProperty]
The rotation of a block reference, in degrees.
CircleCenter
CircleCenter: ClassVar[CadFilterProperty]
The centre of a circle (X, Y, Z).
CircleRadius
CircleRadius: ClassVar[CadFilterProperty]
The radius of a circle.
Color
Color: ClassVar[CadFilterProperty]
The colour by its index: 1 to 255, 256 ByLayer, 0 ByBlock; tested with =, !=, <, <=, > and >=.
DimensionStyle
DimensionStyle: ClassVar[CadFilterProperty]
The dimension style of a dimension, a name or a pattern.
Elevation
Elevation: ClassVar[CadFilterProperty]
The elevation of a polyline or a hatch.
EllipseCenter
EllipseCenter: ClassVar[CadFilterProperty]
The centre of an ellipse (X, Y, Z).
EndAnd
EndAnd: ClassVar[CadFilterProperty]
The end of an AND group.
EndNot
EndNot: ClassVar[CadFilterProperty]
The end of a NOT group.
EndOr
EndOr: ClassVar[CadFilterProperty]
The end of an OR group.
EndXor
EndXor: ClassVar[CadFilterProperty]
The end of an XOR group.
HatchPatternName
HatchPatternName: ClassVar[CadFilterProperty]
The pattern name of a hatch, a name or a pattern.
ImagePosition
ImagePosition: ClassVar[CadFilterProperty]
The insertion point of a raster image (X, Y, Z).
Layer
Layer: ClassVar[CadFilterProperty]
The layer, a name or a wild-card pattern: WALL*.
LineEnd
LineEnd: ClassVar[CadFilterProperty]
The end of a line (X, Y, Z).
LineStart
LineStart: ClassVar[CadFilterProperty]
The start of a line (X, Y, Z).
Linetype
Linetype: ClassVar[CadFilterProperty]
The linetype by name, ByLayer and ByBlock among them, or a wild-card pattern.
LinetypeScale
LinetypeScale: ClassVar[CadFilterProperty]
The linetype scale of an object.
MultilineStyle
MultilineStyle: ClassVar[CadFilterProperty]
The name of the style of an MLINE (MultiLine Style), a name or a pattern.
NormalVector
NormalVector: ClassVar[CadFilterProperty]
The normal of a flat object (X, Y, Z).
Object
Object: ClassVar[CadFilterProperty]
The kind of the object, as the Properties panel names it (Line, Circle, MText) or AutoCAD's filter list does (Arc, Block, Polyline).
PointPosition
PointPosition: ClassVar[CadFilterProperty]
The position of a point object (X, Y, Z).
ShapeName
ShapeName: ClassVar[CadFilterProperty]
The name of a shape, a name or a pattern.
ShapePosition
ShapePosition: ClassVar[CadFilterProperty]
The insertion point of a shape (X, Y, Z).
TextHeight
TextHeight: ClassVar[CadFilterProperty]
The height of a text or an MTEXT.
TextPosition
TextPosition: ClassVar[CadFilterProperty]
The insertion point of a text or an MTEXT (X, Y, Z).
TextRotation
TextRotation: ClassVar[CadFilterProperty]
The rotation of a text or an MTEXT, in degrees.
TextStyleName
TextStyleName: ClassVar[CadFilterProperty]
The text style of a text or an MTEXT, a name or a pattern.
TextValue
TextValue: ClassVar[CadFilterProperty]
The words of a text or an MTEXT, a text or a pattern.
Thickness
Thickness: ClassVar[CadFilterProperty]
The thickness of an object.
Transparency
Transparency: ClassVar[CadFilterProperty]
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.
ViewportCenter
ViewportCenter: ClassVar[CadFilterProperty]
The centre of a viewport on its sheet (X, Y, Z).
XdataId
XdataId: ClassVar[CadFilterProperty]
The name of an application that has extended data on the object, a name or a pattern.
Constructors
__init__
def __init__(self, value: int) -> None
Operators and Python protocols
__int__
def __int__(self) -> int