Lua Scripting

<< Click to Display Table of Contents >>

Navigation:  Advanced Features > Scripting > Other Scripting Langauges >

Lua Scripting

Sample Code

 

-Vertex Lua Sample Code

-- Pass input123 parameter to variable

var1 = input1

 

-- Run Vertex Script

Script.Run ('Log Hello Lua')

 

-- Get a return value from Vertex Scripting

var2 = Script.Run('Return SystemsManager.GetStatus')

 

--[[Return a value to Vertex Scripting]]

return var1

 

 

 

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