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

The edit mode. 更多...

#include <APIEditMode.h>

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

Public 成员函数

String GetName () const
 
StringList GetContextCommands ()
 
ParameterUISet GetParameterUIs () const
 
virtual bool SetParameter (const String &paramId, const ParameterValue &pValue)
 
virtual ParameterValue GetParameter (const String &paramId) const
 
- Public 成员函数 继承自 AnyCAD::API::ViewEditorManager
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 edit mode.

TODO:

成员函数说明

StringList AnyCAD::API::EditMode::GetContextCommands ( )

Get the command ids.

返回
the ids.
String AnyCAD::API::EditMode::GetName ( ) const

Get the name.

返回
the name.
virtual ParameterValue AnyCAD::API::EditMode::GetParameter ( const String paramId) const
virtual

Get the parameter value.

参数
paramIdthe id of the parameter.
返回
the parameter value.
ParameterUISet AnyCAD::API::EditMode::GetParameterUIs ( ) const

Get ParameterUI for the edit mode.

返回
the UI.
virtual bool AnyCAD::API::EditMode::SetParameter ( const String paramId,
const ParameterValue pValue 
)
virtual

Set parameter value.

参数
paramIdthe id.
pValuethe value.
返回
true if succeed.

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