Table of Contents

Class CadPluginCommandEntry

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

One command a plugin.json declares, written as a name ("RING") or as an object that says more: { "name": "RING", "alias": "RG", "description": "Draws a ring", "usesSelection": true }. A Python tool declares its commands here so that the app shows them, and starts the tool's process only when one is used.

public sealed class CadPluginCommandEntry
Inheritance
CadPluginCommandEntry
Inherited Members

Properties

Alias

Gets the alias typed in place of the name, in capitals; null where none is declared.

Description

Gets what the command does, in a line; null where none is declared.

Name

Gets the name of the command, in capitals.

UsesSelection

Gets whether the command takes the objects selected before it starts, as MOVE does.