PythonAdapter.GetEnumTypeMapping

Syntax

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

Purpose

Returns the Python module path and enumeration name for the type definition and property lookup string you specify.

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

[Out] Returns the path to the Python module.

enumName As String

[Out] Returns the name of the Python enumeration mapped to the TestStand enumeration type definition.