|
AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
事件接收器 更多...
Public 成员函数 | |
| virtual void | OnDocumentModified (DocumentChangeArgs^ args) |
| virtual void | OnSelectionChanged (SelectionChangeArgs^ args) |
| virtual void | OnDebugWarning (String^ msg) |
| virtual Path^ | OnGetOpenFileName (String^ caption, String^ filter) |
| virtual Path^ | OnGetSaveFileName (String^ caption, String^ defaultName, String^ filter) |
| virtual int | OnGotExistingElement (String^ docId, ElementId^ newId, ElementIdSet^ exitingIds) |
| virtual void | OnTraceEditor (String^ commandId, int status) |
| virtual void | OnChangeCursor (String^ commandId, String^ cursorHint) |
| virtual void | OnMousePositionChanged (Vector3^ worldPos) |
| virtual int | OnExecuteEventLoop (long loopId) |
| virtual void | OnExitLoopEvent (long loopId, int code) |
| virtual String^ | OnGetInput (String^ desciption, int valueType, String^ defaultValue, long id) |
| virtual void | OnShowCommandContextUI (bool bShow, View^ pView) |
事件接收器
用于接收平台产生的事件。
|
virtual |
Notify to change the cursor.
| commandId | the id. |
| cursorHint | which cursor to use. |
|
virtual |
|
virtual |
|
virtual |
Execute the event loop
| loopId | the loop id. |
|
virtual |
Exit the event loop.
| loopId | the loop id. |
| code | the exit code. |
|
virtual |
Get the input.
| desciption | the description string. |
| valueType | the value type. |
| defaultValue | the default value. |
| id | the id of the input. |
|
virtual |
调用打开文件对话框获取需要打开的文件.
| caption | the Title |
| filter | the file filters |
|
virtual |
调用保存文件对话框保存文件.
| caption | the Title |
| defaultName | the flleName |
| filter | the file filters |
|
virtual |
handling existing element action.
|
virtual |
Notify the mouse position changed.
| worldPos | the position in the world space. |
|
virtual |
|
virtual |
Show the command context ui.
| bShow | show the UI. |
| pView | the active view. |
|
virtual |
Trace the state of the editor
| commandId | the id. |
| status | 1: Enter editor. 2: Exist editor |
1.8.10