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
AboveDimLine: ClassVar[CadGripAction]
A dimension's text grip: asks for a pick and puts the words above the dimension line (DIMTAD 1).
AddVertex
AddVertex: ClassVar[CadGripAction]
A polyline's vertex or segment middle: asks for a new vertex, put after the vertex of the grip.
BaselineDimension
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
CenterVertically: ClassVar[CadGripAction]
A dimension's text grip: asks for a pick and centres the words on the dimension line (DIMTAD 0).
ContinueDimension
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
ConvertToArc: ClassVar[CadGripAction]
The middle of a straight segment: asks for the arc's middle and makes the segment an arc.
ConvertToLine
ConvertToLine: ClassVar[CadGripAction]
The middle of an arc segment: makes it straight at once, with no prompt, as AutoCAD 2021 does.
FlipArrow
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
HatchAngle: ClassVar[CadGripAction]
A hatch's grip: asks for the angle of its pattern.
HatchOrigin
HatchOrigin: ClassVar[CadGripAction]
A hatch's grip: asks for the point its pattern is laid from.
HatchScale
HatchScale: ClassVar[CadGripAction]
A hatch's grip: asks for the scale of its pattern.
Lengthen
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
MoveTextOnly: ClassVar[CadGripAction]
A dimension's text grip: asks where to move the words, which move alone with no leader (DIMTMOVE 2).
MoveWithDimLine
MoveWithDimLine: ClassVar[CadGripAction]
A dimension's text grip: asks where to move the words, the dimension line moving with them (DIMTMOVE 0).
MoveWithLeader
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
Radius: ClassVar[CadGripAction]
The middle of an arc: asks for a radius, the centre and the angles kept.
RemoveVertex
RemoveVertex: ClassVar[CadGripAction]
A polyline's or spline's vertex: takes the vertex out at once, with no prompt, as AutoCAD 2021 does.
ResetTextPosition
ResetTextPosition: ClassVar[CadGripAction]
A dimension's text grip: asks for a pick and puts the words back where the style puts them.
Stretch
Stretch: ClassVar[CadGripAction]
The middle of a segment: stretches it, as a click on the grip does ("** STRETCH **").
StretchVertex
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