AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::CustomCommand类 参考

用户自定义命令的基类 更多...

#include <APICustomCommand.h>

类 AnyCAD::API::CustomCommand 继承关系图:
AnyCAD::API::Command

Public 成员函数

virtual bool OnExecute (const CommandContext &ctx)
 
- Public 成员函数 继承自 AnyCAD::API::Command
void SetName (const String &name)
 
String GetName () const
 

详细描述

用户自定义命令的基类

用于扩展命令。

成员函数说明

virtual bool AnyCAD::API::CustomCommand::OnExecute ( const CommandContext ctx)
virtual

执行命令的时候调用。

参数
ctxThe context.
返回
true if it succeeds, false if it fails.

该类的文档由以下文件生成: