CD5TemplateType (Object)

Represents a Template Type.

Properties on the object helps the users to get various templates and there possible ENOVIA Types.
Example:
 The following example indicates how to retrieve the template type.
 
 Dim oTemplateType As ENOIACD5TemplateType
 Set oTemplateType = oTemplateTypes.Item(1)
 
See also:

Properties


Property PossibleTypes() As (Read Only)
Returns (gets) the possible Types from a Template type.
Example:
 The following example gets Possible ENOVIA Types from a Template type.
 
 Dim oPossibleTypes As Array
 oPossibleTypes = oTemplateType.PossibleTypes 
 
Property TemplateTypeName() As (Read Only)
Returns (gets) the name of the Template Type.
Example:
 The following example gets the name of the Template Type.
 
 Dim oName As CATBSTR
 oName = oTemplateType.TemplateTypeName 
 
Property Templates() As (Read Only)
Returns (gets) the list of Templates from a Template type.
Example:
 The following example gets Templates.
 
 Dim oTemplates As ENOIACD5Templates
 Set oTemplates = oTemplateType.Templates