|
AnyCAD Rapid API 2026
Help you to create a better world!
|
基本体命令对象 更多...
Public 成员函数 | |
| PrimitiveCommand (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| PrimitiveCommand (string name, string uiName) | |
| 构造 | |
| virtual new bool | Run (CommandContext ctx) |
| 执行 | |
| override string | GetUIName () |
| 返回用户可见的名称 | |
Public 成员函数 继承自 AnyCAD.Foundation.Command | |
| 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 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 成员函数 继承自 AnyCAD.Foundation.Command | |
| static bool | Redirect (string name, CommandContext ctx) |
| 重新定向到其他命令来执行 | |
基本体命令对象
Group: DataManage
| AnyCAD.Designing.PrimitiveCommand.PrimitiveCommand | ( | string | name, |
| string | uiName ) |
构造
| name | Id |
| uiName | Title |
|
virtual |
|
virtual |