Table of Contents

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

.NET

ArcCenter: ClassVar[CadFilterProperty]

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

ArcRadius

.NET

ArcRadius: ClassVar[CadFilterProperty]

The radius of an arc.

AttributePosition

.NET

AttributePosition: ClassVar[CadFilterProperty]

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

AttributeTag

.NET

AttributeTag: ClassVar[CadFilterProperty]

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

BeginAnd

.NET

BeginAnd: ClassVar[CadFilterProperty]

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

BeginNot

.NET

BeginNot: ClassVar[CadFilterProperty]

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

BeginOr

.NET

BeginOr: ClassVar[CadFilterProperty]

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

BeginXor

.NET

BeginXor: ClassVar[CadFilterProperty]

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

BlockName

.NET

BlockName: ClassVar[CadFilterProperty]

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

BlockPosition

.NET

BlockPosition: ClassVar[CadFilterProperty]

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

BlockRotation

.NET

BlockRotation: ClassVar[CadFilterProperty]

The rotation of a block reference, in degrees.

CircleCenter

.NET

CircleCenter: ClassVar[CadFilterProperty]

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

CircleRadius

.NET

CircleRadius: ClassVar[CadFilterProperty]

The radius of a circle.

Color

.NET

Color: ClassVar[CadFilterProperty]

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

DimensionStyle

.NET

DimensionStyle: ClassVar[CadFilterProperty]

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

Elevation

.NET

Elevation: ClassVar[CadFilterProperty]

The elevation of a polyline or a hatch.

EllipseCenter

.NET

EllipseCenter: ClassVar[CadFilterProperty]

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

EndAnd

.NET

EndAnd: ClassVar[CadFilterProperty]

The end of an AND group.

EndNot

.NET

EndNot: ClassVar[CadFilterProperty]

The end of a NOT group.

EndOr

.NET

EndOr: ClassVar[CadFilterProperty]

The end of an OR group.

EndXor

.NET

EndXor: ClassVar[CadFilterProperty]

The end of an XOR group.

HatchPatternName

.NET

HatchPatternName: ClassVar[CadFilterProperty]

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

ImagePosition

.NET

ImagePosition: ClassVar[CadFilterProperty]

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

Layer

.NET

Layer: ClassVar[CadFilterProperty]

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

LineEnd

.NET

LineEnd: ClassVar[CadFilterProperty]

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

LineStart

.NET

LineStart: ClassVar[CadFilterProperty]

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

Linetype

.NET

Linetype: ClassVar[CadFilterProperty]

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

LinetypeScale

.NET

LinetypeScale: ClassVar[CadFilterProperty]

The linetype scale of an object.

MultilineStyle

.NET

MultilineStyle: ClassVar[CadFilterProperty]

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

NormalVector

.NET

NormalVector: ClassVar[CadFilterProperty]

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

Object

.NET

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

.NET

PointPosition: ClassVar[CadFilterProperty]

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

ShapeName

.NET

ShapeName: ClassVar[CadFilterProperty]

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

ShapePosition

.NET

ShapePosition: ClassVar[CadFilterProperty]

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

TextHeight

.NET

TextHeight: ClassVar[CadFilterProperty]

The height of a text or an MTEXT.

TextPosition

.NET

TextPosition: ClassVar[CadFilterProperty]

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

TextRotation

.NET

TextRotation: ClassVar[CadFilterProperty]

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

TextStyleName

.NET

TextStyleName: ClassVar[CadFilterProperty]

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

TextValue

.NET

TextValue: ClassVar[CadFilterProperty]

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

Thickness

.NET

Thickness: ClassVar[CadFilterProperty]

The thickness of an object.

Transparency

.NET

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

.NET

ViewportCenter: ClassVar[CadFilterProperty]

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

XdataId

.NET

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