AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::CommandContext类 参考

命令上下文 更多...

Public 成员函数

ViewGetView ()
 
DocumentGetDocument ()
 
bool WaitForEventLoop (long loopId)
 
void OutputMessage (String^ msg)
 

详细描述

命令上下文

记录命令的上下文信息

成员函数说明

Document ^ AnyCAD::Platform::CommandContext::GetDocument ( )

获取文档。

返回
Document.
View ^ AnyCAD::Platform::CommandContext::GetView ( )

获取视图。

返回
View.
void AnyCAD::Platform::CommandContext::OutputMessage ( String^  msg)

输出信息。

参数
msg输出信息的内容。
bool AnyCAD::Platform::CommandContext::WaitForEventLoop ( long  loopId)

等待EventLoop。

参数
loopId要等待的EventLoop的ID
返回
true 如果成功, 返回false 如果失败。

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