The concept linked to the HRI template.
object.Concept
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISHriData interface |
Display the number of the HRI templates within the collection and some information about them, including the types and the names of the linked concepts.
Dim aHRITemplates, aHRITemplate
Dim aHRIData
Dim i
Dim aMessage
set aHRITemplates = Profile.GetHRITemplates
aMessage = "There are " & aHRITemplates.Count & " HRI Templates: "
for i = 0 to aHRITemplates.Count - 1
set aHRITemplate = aHRITemplates.Item(i)
set aHRIData = aHRITemplate.HRI
aMessage = aMessage & vbNewLine & (i + 1) & ") " &_
aHRIData.Concept.Name & vbTab
select case aHRIData.TypingType
case 1 'tshtQuantity
aMessage = aMessage & " - Quantity"
case 2 'tshtRange
aMessage = aMessage & " - Range"
case 3 'tshtRatio
aMessage = aMessage & " - Ratio"
case 4 'tshtText
aMessage = aMessage & " - Text"
case else
aMessage = aMessage & " - Unknown"
end select
next 'i
Profile.MsgBox(aMessage)