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

The sketch edit mode. 更多...

#include <APISketchEditMode.h>

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

Public 成员函数

ElementId GetReferencePlaneId () const
 
void SetReferencePlaneId (const ElementId &planeId)
 
ElementId GetSketchId () const
 
void SetSketchId (const ElementId &sketchId)
 
- Public 成员函数 继承自 AnyCAD::API::DocumentEditMode
void SetAllowUndo (bool bAllow)
 
- Public 成员函数 继承自 AnyCAD::API::EditMode
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 sketch edit mode.

TODO:

成员函数说明

ElementId AnyCAD::API::SketchEditMode::GetReferencePlaneId ( ) const

Gets reference plane identifier.

返回
The reference plane identifier.
ElementId AnyCAD::API::SketchEditMode::GetSketchId ( ) const

Gets sketch identifier.

返回
The sketch identifier.
void AnyCAD::API::SketchEditMode::SetReferencePlaneId ( const ElementId planeId)

Sets reference plane identifier.

参数
planeIdIdentifier for the plane.
void AnyCAD::API::SketchEditMode::SetSketchId ( const ElementId sketchId)

Sets sketch identifier.

参数
sketchIdIdentifier for the sketch.

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