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

The editor manager. 更多...

#include <APIViewEditorManager.h>

类 AnyCAD::API::ViewEditorManager 继承关系图:
AnyCAD::API::EditorManager AnyCAD::API::Object AnyCAD::API::EditMode AnyCAD::API::DocumentEditMode AnyCAD::API::SketchEditMode

Public 成员函数

bool ExecuteCommand (const String &commandName, const String &parameters)
 
DocViewEditor CreateEditor (const String &commandId)
 
void LoadPlaceEditor (const ElementId &typeId, const String &createMethod)
 
long ActiveEditorByName (const String &commandName)
 
- Public 成员函数 继承自 AnyCAD::API::EditorManager
bool GetExitWithESC () const
 
void SetExitWithESC (bool bEnabled)
 
String GetCurEditorId () const
 
void SetDefaultEditorId (const String &eidtorId)
 
String GetDefaultEditorId () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The editor manager.

TODO:

成员函数说明

long AnyCAD::API::ViewEditorManager::ActiveEditorByName ( const String commandName)

Active the editor

参数
commandNamethe name of the Editor
DocViewEditor AnyCAD::API::ViewEditorManager::CreateEditor ( const String commandId)

Create the editor by id The editor should be activated using ActiveEditor method.

参数
commandIdthe editor id
返回
the Editor
bool AnyCAD::API::ViewEditorManager::ExecuteCommand ( const String commandName,
const String parameters 
)

Execute the command

参数
commandNamethe command identifier
parametersthe parameters.
返回
true if succeed.
void AnyCAD::API::ViewEditorManager::LoadPlaceEditor ( const ElementId typeId,
const String createMethod 
)

Load the place editor to place the instance of the TypeElement

参数
typeIdthe TypeElement id.
createMethodthe create method.

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