Table of Contents

CadAreaSelection

from OpenCAD2D import CadAreaSelection

class CadAreaSelection(System.Enum) ยท CadAreaSelection in the .NET reference

How CadSpatial.Select takes entities by where they are drawn.

Values

Crossing

.NET

Crossing: ClassVar[CadAreaSelection]

The entities the box of two corners lies across or contains, as the Crossing option.

CrossingPolygon

.NET

CrossingPolygon: ClassVar[CadAreaSelection]

The entities a polygon of three or more points touches, as CPolygon.

Fence

.NET

Fence: ClassVar[CadAreaSelection]

The entities a fence of two or more points crosses, as the Fence option.

Point

.NET

Point: ClassVar[CadAreaSelection]

The entities that pass within a distance of one point, the one picked first leading.

Window

.NET

Window: ClassVar[CadAreaSelection]

The entities wholly inside the box of two corners, as the Window option of "Select objects:".

WindowPolygon

.NET

WindowPolygon: ClassVar[CadAreaSelection]

The entities wholly inside a polygon of three or more points, as WPolygon.

Constructors

__init__

def __init__(self, value: int) -> None

Operators and Python protocols

__int__

def __int__(self) -> int