Table of Contents

CadGripAction

from OpenCAD2D import CadGripAction

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

What an item of a multi-functional grip's hover menu does.

Values

AboveDimLine

.NET

AboveDimLine: ClassVar[CadGripAction]

A dimension's text grip: asks for a pick and puts the words above the dimension line (DIMTAD 1).

AddVertex

.NET

AddVertex: ClassVar[CadGripAction]

A polyline's vertex or segment middle: asks for a new vertex, put after the vertex of the grip.

BaselineDimension

.NET

BaselineDimension: ClassVar[CadGripAction]

A linear dimension's grip: goes on from the extension line origin beside the grip, each dimension further out, as DIMBASELINE does.

CenterVertically

.NET

CenterVertically: ClassVar[CadGripAction]

A dimension's text grip: asks for a pick and centres the words on the dimension line (DIMTAD 0).

ContinueDimension

.NET

ContinueDimension: ClassVar[CadGripAction]

A linear dimension's grip: goes on in a row from the extension line origin beside the grip, as DIMCONTINUE does.

ConvertToArc

.NET

ConvertToArc: ClassVar[CadGripAction]

The middle of a straight segment: asks for the arc's middle and makes the segment an arc.

ConvertToLine

.NET

ConvertToLine: ClassVar[CadGripAction]

The middle of an arc segment: makes it straight at once, with no prompt, as AutoCAD 2021 does.

FlipArrow

.NET

FlipArrow: ClassVar[CadGripAction]

The arrowhead grip of a linear dimension: asks for a pick and flips that arrowhead, inside the extension lines to outside or the reverse.

HatchAngle

.NET

HatchAngle: ClassVar[CadGripAction]

A hatch's grip: asks for the angle of its pattern.

HatchOrigin

.NET

HatchOrigin: ClassVar[CadGripAction]

A hatch's grip: asks for the point its pattern is laid from.

HatchScale

.NET

HatchScale: ClassVar[CadGripAction]

A hatch's grip: asks for the scale of its pattern.

Lengthen

.NET

Lengthen: ClassVar[CadGripAction]

An end of a line or an arc: asks for the new end, which keeps the line's way or the arc's centre and radius.

MoveTextOnly

.NET

MoveTextOnly: ClassVar[CadGripAction]

A dimension's text grip: asks where to move the words, which move alone with no leader (DIMTMOVE 2).

MoveWithDimLine

.NET

MoveWithDimLine: ClassVar[CadGripAction]

A dimension's text grip: asks where to move the words, the dimension line moving with them (DIMTMOVE 0).

MoveWithLeader

.NET

MoveWithLeader: ClassVar[CadGripAction]

A dimension's text grip: asks where to move the words, which move with a leader drawn to them (DIMTMOVE 1).

Radius

.NET

Radius: ClassVar[CadGripAction]

The middle of an arc: asks for a radius, the centre and the angles kept.

RemoveVertex

.NET

RemoveVertex: ClassVar[CadGripAction]

A polyline's or spline's vertex: takes the vertex out at once, with no prompt, as AutoCAD 2021 does.

ResetTextPosition

.NET

ResetTextPosition: ClassVar[CadGripAction]

A dimension's text grip: asks for a pick and puts the words back where the style puts them.

Stretch

.NET

Stretch: ClassVar[CadGripAction]

The middle of a segment: stretches it, as a click on the grip does ("** STRETCH **").

StretchVertex

.NET

StretchVertex: ClassVar[CadGripAction]

A polyline's vertex: stretches the vertex, as a click on the grip does ("** STRETCH **").

Constructors

__init__

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

Operators and Python protocols

__int__

def __int__(self) -> int