Table of Contents

CadGripKind

from OpenCAD2D import CadGripKind

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

What dragging a grip does.

Values

Center

.NET

Center: ClassVar[CadGripKind]

The centre of a circle or an arc: moves it.

ClipFlip

.NET

ClipFlip: ClassVar[CadGripKind]

The arrow at the middle of the first side of a clip boundary, pointing across it to what the clip hides: clicked, turns the clip inside out (CadGrips.ClickClipFlip); not dragged.

ClipVertex

.NET

ClipVertex: ClassVar[CadGripKind]

A corner of the clip boundary of a block reference or an external reference (XCLIP), or a vertex of its polygon: moves that corner of a rectangle (the two sides it is on, the opposite corner kept) or that vertex alone.

Corner

.NET

Corner: ClassVar[CadGripKind]

A corner of a viewport's frame: resizes the frame, the corner across from it kept, the scale and the centre of the view kept. A corner of an OLE frame: scales the frame about the corner across from it (see CadGrips.Of). A corner of an MTEXT's box: takes its two edges of the box to the point, the width and the height of the MTEXT those of the box then; drawn a triangle along the MTEXT at the top right, down it at the bottom left and into the corner at the bottom right, a square at the top left.

CustomFlip

.NET

CustomFlip: ClassVar[CadGripKind]

A custom grip of a dynamic block's flip parameter, a bent arrow across its line: clicked, flips the block.

CustomLinear

.NET

CustomLinear: ClassVar[CadGripKind]

A custom grip of a dynamic block's linear parameter, an arrow: dragged along the parameter, sets its distance.

CustomList

.NET

CustomList: ClassVar[CadGripKind]

A custom grip of a dynamic block's visibility or lookup parameter, a triangle pointing down: clicked, lists the values.

CustomPoint

.NET

CustomPoint: ClassVar[CadGripKind]

A custom grip of a dynamic block's point, polar or XY parameter, a square in the dynamic grip colour: dragged, sets its values.

CustomRotation

.NET

CustomRotation: ClassVar[CadGripKind]

A custom grip of a dynamic block's rotation parameter, a circle: dragged round its base point, sets its angle.

DefinitionPoint

.NET

DefinitionPoint: ClassVar[CadGripKind]

A point a dimension measures from (an extension line's origin, a chord point, a line point or the vertex of an angle, an ordinate's feature or leader end): moves that point.

DimensionLine

.NET

DimensionLine: ClassVar[CadGripKind]

An end of a dimension's line, or the arc of an angular one: moves the line, or the arc, through the point.

End

.NET

End: ClassVar[CadGripKind]

An end of a line or an arc: moves that end.

Insertion

.NET

Insertion: ClassVar[CadGripKind]

The insertion point of a text, an MTEXT or a block reference: moves it.

Jog

.NET

Jog: ClassVar[CadGripKind]

The jog of a jogged radius dimension: moves the jog, kept half way between the radius and its parallel through the centre drawn.

MTextColumnHeight

.NET

MTextColumnHeight: ClassVar[CadGripKind]

The height grip of one column of an MTEXT in dynamic columns of their own heights, a triangle under the middle of the column pointing down: sets that column's height, at least the text height.

MTextColumnWidth

.NET

MTextColumnWidth: ClassVar[CadGripKind]

The column width grip of an MTEXT in columns, a triangle at the top right of its first column pointing along it: sets the width of every column, as AutoCAD 2021's. Dynamic columns keep their gutter; static ones keep their total width, the gutter giving or taking the rest: two static columns 120 wide with a gutter of 20 dragged 30 narrower are 90 wide with a gutter of 80.

MTextGutter

.NET

MTextGutter: ClassVar[CadGripKind]

The grip of the last column of an MTEXT in two columns or more, a triangle at its top right pointing along it: sets the gutter, the columns keeping their width, as AutoCAD 2021's: two static columns 120 wide with a gutter of 20 dragged 50 wider have a gutter of 70.

MTextHeight

.NET

MTextHeight: ClassVar[CadGripKind]

The height grip of an MTEXT in columns of one height, a triangle under its location pointing down: sets the height of the columns, at least the text height.

MTextSize

.NET

MTextSize: ClassVar[CadGripKind]

The corner grip of an MTEXT in columns of one height, a triangle at the bottom right of its last column pointing into the corner: sets the height of the columns and, as the grip of the last column does, the gutter of static columns, or the width of dynamic ones.

Middle

.NET

Middle: ClassVar[CadGripKind]

The middle of a line: moves the whole line. The middle of an arc: bends the arc through the point.

Quadrant

.NET

Quadrant: ClassVar[CadGripKind]

A quadrant of a circle: changes its radius.

SegmentMiddle

.NET

SegmentMiddle: ClassVar[CadGripKind]

The middle of a polyline segment: moves a straight segment, bends an arc segment through the point.

TableBreak

.NET

TableBreak: ClassVar[CadGripKind]

The table breaking grip under the middle of a table's bottom edge: drawn as AutoCAD's, not offered; dragged, it does nothing.

TableColumn

.NET

TableColumn: ClassVar[CadGripKind]

A column grip of a table, on its top edge at a line between two columns: moves the line, the column left of it growing and the one right of it giving it back, the table's width kept; with Ctrl the left column alone changes and the table's width follows.

TableHeight

.NET

TableHeight: ClassVar[CadGripKind]

The bottom left grip of a table, a triangle pointing down: stretches every row in proportion to the new height.

TableSize

.NET

TableSize: ClassVar[CadGripKind]

The bottom right grip of a table, a triangle pointing into its corner: stretches the columns and the rows alike.

TableWidth

.NET

TableWidth: ClassVar[CadGripKind]

The top right grip of a table, a triangle pointing along it: stretches every column in proportion to the new width.

Text

.NET

Text: ClassVar[CadGripKind]

The words of a dimension: moves them, as DIMTEDIT does.

Vertex

.NET

Vertex: ClassVar[CadGripKind]

A vertex of a polyline: moves the vertex.

Constructors

__init__

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

Operators and Python protocols

__int__

def __int__(self) -> int