PythonAdapter.SetEnumTypeMapping

Syntax

PythonAdapter.SetEnumTypeMapping( typeDefinition, propertyLookupString, modulePath, enumName)

Purpose

Specifies the Python module path and enumeration name to map to the TestStand enumeration type definition.

Parameters

typeDefinition As PropertyObject

[In] Specifies the type definition. This method returns an error if PropertyObject is not a type definition.

propertyLookupString As String

[In] Specifies the location of the property in the type definition.

modulePath As String

[In] Specifies the path to the Python module.

enumName As String

[In] Specifies the name of the Python enumeration to map to the TestStand enumeration type definition.