Table of Contents

Enum CadGripAction

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

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

public enum CadGripAction

Fields

Stretch = 0

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

StretchVertex = 1

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

AddVertex = 2

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

RemoveVertex = 3

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

ConvertToArc = 4

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

ConvertToLine = 5

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

Lengthen = 6

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.

Radius = 7

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

HatchScale = 8

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

HatchAngle = 9

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

HatchOrigin = 10

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

ContinueDimension = 11

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

BaselineDimension = 12

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

FlipArrow = 13

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

MoveTextOnly = 14

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

MoveWithLeader = 15

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

MoveWithDimLine = 16

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

AboveDimLine = 17

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

CenterVertically = 18

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

ResetTextPosition = 19

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