|
AnyCAD Rapid API 2026
Help you to create a better world!
|
命令基类 更多...
Public 成员函数 | |
| Command (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
| string | GetName () |
| void | SetName (string val) |
| bool | GetHasEditor () |
| void | SetHasEditor (bool val) |
| bool | GetNeedViewer () |
| void | SetNeedViewer (bool val) |
| string | GetDescription () |
| void | SetDescription (string val) |
| string | GetURI () |
| void | SetURI (string val) |
| EnumCommandBehavior | GetCommandType () |
| virtual string | GetUIName () |
| virtual void | QueryParamsSchema (CommandContext ctx) |
| 查询命令的输入参数Schema,保存在Output中 | |
| bool | Execute (CommandContext ctx, bool notify) |
| 执行 | |
| virtual string | Query (CommandContext ctx) |
| 查询命令 | |
| virtual bool | IsVisible (CommandContext ctx) |
| 是否可以执行。 | |
| virtual bool | IsChecked (CommandContext ctx) |
| 是否仍在执行。 | |
| virtual bool | BeforeRunning (CommandContext ctx) |
| 在执行命令之前进行检查是否可以执行。 | |
| void | ShowToolTip (string message) |
| 显示提示信息 | |
静态 Public 成员函数 | |
| static bool | Redirect (string name, CommandContext ctx) |
| 重新定向到其他命令来执行 | |
命令基类
Group: Interaction
|
virtual |
在执行命令之前进行检查是否可以执行。
| ctx | 上下文 |
| bool AnyCAD.Foundation.Command.Execute | ( | CommandContext | ctx, |
| bool | notify ) |
执行
| ctx | 上下文信息 |
| notify | 是否通知命令 |
|
virtual |
|
virtual |
是否仍在执行。
| ctx | 上下文 |
|
virtual |
是否可以执行。
| ctx | 上下文 |
|
virtual |
查询命令
| ctx | 上下文 |
|
static |
重新定向到其他命令来执行
| name | |
| ctx |
| void AnyCAD.Foundation.Command.ShowToolTip | ( | string | message | ) |
显示提示信息
| message | 内容 |