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 = 0The middle of a segment: stretches it, as a click on the grip does ("** STRETCH **").
StretchVertex = 1A polyline's vertex: stretches the vertex, as a click on the grip does ("** STRETCH **").
AddVertex = 2A polyline's vertex or segment middle: asks for a new vertex, put after the vertex of the grip.
RemoveVertex = 3A polyline's or spline's vertex: takes the vertex out at once, with no prompt, as AutoCAD 2021 does.
ConvertToArc = 4The middle of a straight segment: asks for the arc's middle and makes the segment an arc.
ConvertToLine = 5The middle of an arc segment: makes it straight at once, with no prompt, as AutoCAD 2021 does.
Lengthen = 6An 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 = 7The middle of an arc: asks for a radius, the centre and the angles kept.
HatchScale = 8A hatch's grip: asks for the scale of its pattern.
HatchAngle = 9A hatch's grip: asks for the angle of its pattern.
HatchOrigin = 10A hatch's grip: asks for the point its pattern is laid from.
ContinueDimension = 11A linear dimension's grip: goes on in a row from the extension line origin beside the grip, as DIMCONTINUE does.
BaselineDimension = 12A linear dimension's grip: goes on from the extension line origin beside the grip, each dimension further out, as DIMBASELINE does.
FlipArrow = 13The arrowhead grip of a linear dimension: asks for a pick and flips that arrowhead, inside the extension lines to outside or the reverse.
MoveTextOnly = 14A dimension's text grip: asks where to move the words, which move alone with no leader (DIMTMOVE 2).
MoveWithLeader = 15A dimension's text grip: asks where to move the words, which move with a leader drawn to them (DIMTMOVE 1).
MoveWithDimLine = 16A dimension's text grip: asks where to move the words, the dimension line moving with them (DIMTMOVE 0).
AboveDimLine = 17A dimension's text grip: asks for a pick and puts the words above the dimension line (DIMTAD 1).
CenterVertically = 18A dimension's text grip: asks for a pick and centres the words on the dimension line (DIMTAD 0).
ResetTextPosition = 19A dimension's text grip: asks for a pick and puts the words back where the style puts them.