CadPluginCommand
from OpenCAD2D.Plugins import CadPluginCommand
class CadPluginCommand(System.Object) ยท CadPluginCommand in the .NET reference
One command of a plugin: its name, alias and description as its attribute gives them, and the command the registry runs.
Properties and fields
Alias
@property
def Alias(self) -> str | None
Gets the alias, in capitals, as NC; null for none.
Command
@property
def Command(self) -> CadCommand
Gets the command a registry runs: the plugin's method, one undo step a run.
Description
@property
def Description(self) -> str | None
Gets what the command does; null where the plugin does not say.
Name
@property
def Name(self) -> str
Gets the name, in capitals: NUMCIRCLES.
Plugin
@property
def Plugin(self) -> CadPlugin
Gets the plugin.
Methods
ToString
def ToString(self) -> str