The element that can store a group of the InstanceElement. 更多...
#include <APIGroupType.h>
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.
instanceId | the id of the RenderableInstance. |
RenderableInstance AnyCAD::API::GroupType::FindInstance | ( | const ElementId & | instanceId | ) | const |
Find an InstanceElement from this group.
instanceId | the id of the InstanceElement. |
RenderableInstance AnyCAD::API::GroupType::FindInstanceByName | ( | const String & | strName | ) | const |
Find an InstanceElement from this group.
strName | the name of the InstanceElement. |
RenderableType AnyCAD::API::GroupType::FindType | ( | const ElementId & | typeId | ) | const |
Find an TypeElement from this group.
typeId | the id of the TypeElement. |
ElementIdSet AnyCAD::API::GroupType::GetInstanceIds | ( | ) | const |
Get InstanceIds.
ElementId AnyCAD::API::GroupType::GetPropertyScriptId | ( | ) | const |
Get PropertyScriptId.
bool AnyCAD::API::GroupType::GetTimerEnabled | ( | ) | const |
Get TimerEnabled.
ElementId AnyCAD::API::GroupType::GetTimerScriptId | ( | ) | const |
Get 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.
componentName | the instance name of the component. |
componentParamId | the parameter name of the component. |
assemblyParamId | the parameter name of the assembly. |
void AnyCAD::API::GroupType::RemoveInstance | ( | const ElementId & | instanceId | ) |
Remove an RenderableInstance from this group.
instanceId | the id of the RenderableInstance. |
void AnyCAD::API::GroupType::SetInstanceIds | ( | const ElementIdSet & | _InstanceIds | ) |
Set the InstanceIds.
_InstanceIds | the InstanceIds. |
void AnyCAD::API::GroupType::SetPropertyScriptId | ( | const ElementId & | _PropertyScriptId | ) |
Set the PropertyScriptId.
_PropertyScriptId | the PropertyScriptId. |
void AnyCAD::API::GroupType::SetTimerEnabled | ( | bool | _TimerEnabled | ) |
Set the TimerEnabled.
_TimerEnabled | the TimerEnabled. |
void AnyCAD::API::GroupType::SetTimerScriptId | ( | const ElementId & | _TimerScriptId | ) |
Set the TimerScriptId.
_TimerScriptId | the TimerScriptId. |