CadGripMenus
from OpenCAD2D import CadGripMenus
class CadGripMenus(System.Object) ยท CadGripMenus in the .NET reference
The hover menus of the multi-functional grips, as AutoCAD 2021 gives a polyline's: the grip on a vertex offers Stretch Vertex, Add Vertex and Remove Vertex; the grip in the middle of a straight segment Stretch, Add Vertex and Convert to Arc, in the middle of an arc segment Stretch, Add Vertex and Convert to Line. An end of a line or of an arc offers Stretch and Lengthen, the middle of an arc Stretch and Radius, the grip of a hatch Stretch, Hatch Scale, Hatch Angle and Origin Point. A linear dimension's extension line origins offer Stretch, Continue Dimension and Baseline Dimension, its arrowheads those and Flip Arrow, and the grip of the words of a dimension Stretch and the six ways to move them. The other entities' grips have none, nor have the boundary grips of a hatch or the frame grips of a fitted 2D polyline.
Methods
Of
@staticmethod
def Of(
document: CadDocument,
handle: str,
gripIndex: int,
) -> System.Collections.Generic.IReadOnlyList[CadGripMenuItem]
Gets the items of the menu a grip shows when the cursor rests on it.