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

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

#include <APIGroupType.h>

类 AnyCAD::API::GroupType 继承关系图:
AnyCAD::API::RenderableType AnyCAD::API::RenderableElement AnyCAD::API::PropertiesElement AnyCAD::API::Element AnyCAD::API::Object

Public 成员函数

void SetInstanceIds (const ElementIdSet &_InstanceIds)
 
ElementIdSet GetInstanceIds () const
 
void SetPropertyScriptId (const ElementId &_PropertyScriptId)
 
ElementId GetPropertyScriptId () const
 
void SetTimerScriptId (const ElementId &_TimerScriptId)
 
ElementId GetTimerScriptId () const
 
void SetTimerEnabled (bool _TimerEnabled)
 
bool GetTimerEnabled () const
 
void AddInstance (const ElementId &instanceId)
 
void RemoveInstance (const ElementId &instanceId)
 
RenderableInstance FindInstance (const ElementId &instanceId) const
 
RenderableInstance FindInstanceByName (const String &strName) const
 
RenderableType FindType (const ElementId &typeId) const
 
bool MapComponentParameter (const String &componentName, const String &componentParamId, const String &assemblyParamId)
 
- Public 成员函数 继承自 AnyCAD::API::RenderableType
void SetTypeGUID (const String &_TypeGUID)
 
String GetTypeGUID () const
 
RenderableInstance CreateInstance () const
 
ElementIdSet GetInstanceIds () const
 
GroupSceneNode GetTypeSceneNode () const
 
AABox GetBBox () const
 
virtual bool EnableAnimationByName (const String &strName)
 
Animator GetAnimator () const
 
virtual SceneNode GetSceneNode () const
 
- Public 成员函数 继承自 AnyCAD::API::RenderableElement
void SetVisible (bool _Visible)
 
bool GetVisible () const
 
void SetStandalone (bool _Standalone)
 
bool GetStandalone () const
 
void SetStyleId (const ElementId &_StyleId)
 
ElementId GetStyleId () const
 
bool IsVisible () 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 InstanceElement.

TODO:

成员函数说明

void AnyCAD::API::GroupType::AddInstance ( const ElementId instanceId)

Add an RenderableInstance into this group.

参数
instanceIdthe id of the RenderableInstance.
RenderableInstance AnyCAD::API::GroupType::FindInstance ( const ElementId instanceId) const

Find an InstanceElement from this group.

参数
instanceIdthe id of the InstanceElement.
返回
the RenderableInstance.
RenderableInstance AnyCAD::API::GroupType::FindInstanceByName ( const String strName) const

Find an InstanceElement from this group.

参数
strNamethe name of the InstanceElement.
返回
the RenderableInstance.
RenderableType AnyCAD::API::GroupType::FindType ( const ElementId typeId) const

Find an TypeElement from this group.

参数
typeIdthe id of the TypeElement.
返回
the TypeElement.
ElementIdSet AnyCAD::API::GroupType::GetInstanceIds ( ) const

Get InstanceIds.

返回
the InstanceIds.
ElementId AnyCAD::API::GroupType::GetPropertyScriptId ( ) const

Get PropertyScriptId.

返回
the PropertyScriptId.
bool AnyCAD::API::GroupType::GetTimerEnabled ( ) const

Get TimerEnabled.

返回
the TimerEnabled.
ElementId AnyCAD::API::GroupType::GetTimerScriptId ( ) const

Get TimerScriptId.

返回
the TimerScriptId.
bool AnyCAD::API::GroupType::MapComponentParameter ( const String componentName,
const String componentParamId,
const String assemblyParamId 
)

Update the component Parameter based on the value of the assembly parameter.

参数
componentNamethe instance name of the component.
componentParamIdthe parameter name of the component.
assemblyParamIdthe parameter name of the assembly.
返回
the TypeElement.
void AnyCAD::API::GroupType::RemoveInstance ( const ElementId instanceId)

Remove an RenderableInstance from this group.

参数
instanceIdthe id of the RenderableInstance.
void AnyCAD::API::GroupType::SetInstanceIds ( const ElementIdSet _InstanceIds)

Set the InstanceIds.

参数
_InstanceIdsthe InstanceIds.
void AnyCAD::API::GroupType::SetPropertyScriptId ( const ElementId _PropertyScriptId)

Set the PropertyScriptId.

参数
_PropertyScriptIdthe PropertyScriptId.
void AnyCAD::API::GroupType::SetTimerEnabled ( bool  _TimerEnabled)

Set the TimerEnabled.

参数
_TimerEnabledthe TimerEnabled.
void AnyCAD::API::GroupType::SetTimerScriptId ( const ElementId _TimerScriptId)

Set the TimerScriptId.

参数
_TimerScriptIdthe TimerScriptId.

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