Table of Contents

CadGripMenuItem

from OpenCAD2D import CadGripMenuItem

class CadGripMenuItem(System.Object) ยท CadGripMenuItem in the .NET reference

One item of a multi-functional grip's hover menu.

Properties and fields

Action

.NET

@property
def Action(self) -> CadGripAction

Gets what choosing the item does.

Enabled

.NET

@property
def Enabled(self) -> bool

Gets whether the item can be chosen; false for it drawn grey, as Remove Vertex on a polyline of two vertices.

Text

.NET

@property
def Text(self) -> str

Gets the words of the item, as AutoCAD 2021 writes them: "Stretch Vertex", "Convert to Arc".

Methods

ToString

.NET

def ToString(self) -> str