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
@property
def Action(self) -> CadGripAction
Gets what choosing the item does.
Enabled
@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
@property
def Text(self) -> str
Gets the words of the item, as AutoCAD 2021 writes them: "Stretch Vertex", "Convert to Arc".
Methods
ToString
def ToString(self) -> str