pycatia.eno_cd5_interfaces.cd5_template_type

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.eno_cd5_interfaces.cd5_template_type.CD5TemplateType(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
CD5TemplateType

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:
CD5TemplateTypes
property possible_types: tuple

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property PossibleTypes() As CATSafeArrayVariant (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
Return type:

tuple

property template_type_name: str

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property TemplateTypeName() As CATBSTR (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
Return type:

str

property templates: CD5Templates

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
o Property Templates() As CD5Templates (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
Return type:

CD5Templates