Python Scripting

<< Click to Display Table of Contents >>

Navigation:  Advanced Features > Scripting > Other Scripting Langauges >

Python Scripting

Sample Code

 

#Vertex Python Sample Code

#Pass input parameter to variable

myVar = input1

 

#Call a Vertex Script from Python script code

Script.Run('Log Hello Python')

 

myVar2 = 'System Status'

 

#Get a return value from Vertex Scripting

myVar3 = Script.Run('SystemsManager.GetStatus')

 

#Use returnValue to return a value to Vertex Scripting

myVar4 = 12

returnValue = myVar * 2

 

 

 

Script.Run lets you interact from Python with VERTEX scripting.