|
AnyCAD Rapid API 2025
Help you to create a better world!
|
Public 成员函数 | |
| CommandContext (Viewer pViewer, Document pDoc, ParameterDict parameters) | |
| Viewer | GetViewer () |
| void | SetViewer (Viewer val) |
| Document | GetDocument () |
| void | SetDocument (Document val) |
| ParameterDict | GetParameters () |
| void | SetParameters (ParameterDict val) |
| ParameterDict | GetOutput () |
| boolean | GetClearPreviousEditor () |
| void | SetClearPreviousEditor (boolean val) |
| String | GetErrorMessage () |
| void | SetErrorMessage (String val) |
| ObjectId | GetObjectId () |
| void | SetObjectId (ObjectId id) |
| EnumEditorTrigger | GetTrigger () |
| SelectionManager | GetSelectionManager () |
<> 命令执行上下文
| CommandContext.CommandContext | ( | Viewer | pViewer, |
| Document | pDoc, | ||
| ParameterDict | parameters ) |
构造模型上下文
| pViewer | 视图 |
| pDoc | 文档 |
| parameters | 输入参数 |
| ObjectId CommandContext.GetObjectId | ( | ) |
获取当前输入的操作对象Id
| SelectionManager CommandContext.GetSelectionManager | ( | ) |
获取当前选择集管理器
| void CommandContext.SetObjectId | ( | ObjectId | id | ) |
设置当前输入操作对象ID
| id |