Class CadCommand
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
A command, as AutoCAD's: a name and the few lines that ask its prompts in turn and make its edit. The body is an iterator that yields each prompt and reads the answer from Input when it is resumed, so that a command reads top to bottom as its prompts do, and a CadCommandSession drives it from the command line, the canvas or a test alike.
public sealed class CadCommand
- Inheritance
-
CadCommand
- Inherited Members
Constructors
Properties
- Body
Gets the body.
- Name
Gets the name, in capitals.
- UsesSelection
Gets whether the command takes the objects selected before it was started.