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

The element that can store a group of the Element. 更多...

#include <APIGroupElement.h>

类 AnyCAD::API::GroupElement 继承关系图:
AnyCAD::API::PropertiesElement AnyCAD::API::Element AnyCAD::API::Object AnyCAD::API::LayerElement

Public 成员函数

void SetUsageType (int _UsageType)
 
int GetUsageType () const
 
void SetElementIds (const ElementIdSet &_ElementIds)
 
ElementIdSet GetElementIds () const
 
void AddElement (const ElementId &ElementId)
 
void RemoveElement (const ElementId &ElementId)
 
Element FindElement (const ElementId &ElementId) const
 
Element FindElementByName (const String &strName) const
 
- Public 成员函数 继承自 AnyCAD::API::PropertiesElement
void AddParameter (ParameterId paramId, const ParameterValue &pParameter)
 
ParameterValue RemoveParameter (ParameterId paramId)
 
void AddParameterUI (ParameterId paramId, const ParameterUI &pParameterUI)
 
ParameterUI GetParameterUI (ParameterId paramId) const
 
ParameterUI RemoveParameterUI (ParameterId paramId)
 
ParameterUISet GetParameterUISet () const
 
virtual ParameterValue GetParameterValue (ParameterId paramId) const
 
virtual bool SetParameterValue (ParameterId paramId, const ParameterValue &pValue)
 
- Public 成员函数 继承自 AnyCAD::API::Element
ElementId GetId () const
 
String GetName () const
 
void SetName (const String &strName)
 
String GetCategory () const
 
void SetCategory (const String &category)
 
ParameterUISet GetSystemParameterUISet () const
 
Document GetOwnerDocument () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The element that can store a group of the Element.

TODO:

成员函数说明

void AnyCAD::API::GroupElement::AddElement ( const ElementId ElementId)

Add an ElementElement into this group.

参数
ElementIdthe id of the ElementElement.
Element AnyCAD::API::GroupElement::FindElement ( const ElementId ElementId) const

Find an ElementElement from this group.

参数
ElementIdthe id of the ElementElement.
返回
the ElementElement.
Element AnyCAD::API::GroupElement::FindElementByName ( const String strName) const

Find an ElementElement from this group.

参数
strNamethe name of the ElementElement.
返回
the ElementElement.
ElementIdSet AnyCAD::API::GroupElement::GetElementIds ( ) const

Get ElementIds.

返回
the ElementIds.
int AnyCAD::API::GroupElement::GetUsageType ( ) const

Get UsageType.

返回
the UsageType.
void AnyCAD::API::GroupElement::RemoveElement ( const ElementId ElementId)

Remove an ElementElement from this group.

参数
ElementIdthe id of the ElementElement.
void AnyCAD::API::GroupElement::SetElementIds ( const ElementIdSet _ElementIds)

Set the ElementIds.

参数
_ElementIdsthe ElementIds.
void AnyCAD::API::GroupElement::SetUsageType ( int  _UsageType)

Set the UsageType.

参数
_UsageTypethe UsageType.

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