Command Class |
Namespace: RootPro.RootProCAD.Command
The Command type exposes the following members.
| Name | Description | |
|---|---|---|
| BuiltIn |
RootPro Gets a value indicating whether it is a standard command of CAD.
| |
| CurrentParameterGroup |
Get or set the current parameter group.
| |
| CurrentParameterGroupIndex |
Get or set the index of the current parameter.
| |
| CurrentParameterItem |
Get the current parameter item.
| |
| Name |
Get or set the command name.
| |
| ParameterGroups |
Get a collection of command parameters.
| |
| ParameterItems |
Get a collection of parameter items.
| |
| UniqueName |
Get a unique name for the command
|
| Name | Description | |
|---|---|---|
| ClearParameters |
clear all parameters.
| |
| DrawShapeRubberBand(Shape) |
Draw the rubber band of the specified shape.
| |
| DrawShapeRubberBand(Shape) |
Draw the rubber band of the specified shape.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Execute |
Execute the command.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetParameterItemByID |
Get the parameter item with the specified parameter ID.
| |
| GetParameterItemByName |
Get the current parameter item with the specified parameter name.
| |
| GetTemporaryParameterItemByID |
Get a temporary parameter item with the specified parameter ID.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MoveToFirstEmptyParameter |
Set the first empty parameter to the current.
| |
| MoveToNextParameter |
Set the next empty parameter to the current.
| |
| OnBegin |
Raise a Begin event.
| |
| OnDraw |
Raise Draw event.
| |
| OnEnd |
Generate an event.
| |
| OnInitialized |
Raise the Initialized event.
| |
| OnMouseMove |
Raise MouseMove event.
| |
| OnParameterChanged |
Raises the ParameterChanged event.
| |
| OnParameterGroupCurrentIndexChanged |
Raises the ParameterGroupCurrentIndexChanged event.
| |
| SelectParameters |
Select the parameter with the specified name.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Begin |
Occurs when starting the command.
| |
| Draw |
Occurs when the mouse cursor moves over the paper or part drawing view during command.
| |
| End |
Occurs when exiting the command.
| |
| Initialized |
Occurs when the command is initialized.
| |
| MouseMove |
Occurs when the mouse cursor moves over the paper or part drawing view during command.
| |
| ParameterChanged |
Occurs when the parameter is changed.
| |
| ParameterGroupCurrentIndexChanged |
Occurs when the current parameter item of the parameter group is changed.
|