DoesOutputVariableExist

Verifies whether or not a named output variable exists.

UI Access N/A
Parameters
Name Type Description
<outputVariableName> String The output variable name.
Return Value

Boolean True if the variable exists; False if it does not.

 

Python Syntax DoesOutputVariableExist(<outputVariableName>)
Python Example

oProject = oDesktop.GetActiveProject()

oDesign = oProject.GetActiveDesign()

oModule = oDesign.GetModule("OutputVariable")

oModule.DoesOutputVariableExist("MyTestVar")