grandMA3 User Manual Publication
Pult()
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » Pult()
Version 2.1

Description

The Pult Lua function returns a handle to the current "Pult" object at position Root/GraphicsRoot/PultCollect. The "Pult" object contains display and device information.

Arguments

This function does not accept any arguments.

Return

  • Handle:
    The returned handle to the pult object.

Example

This example prints the data connected to the handle. It uses the Dump() function:

Dump()

The Dump() function returns a string with information about the object, for instance, the name, class, path of the object, its properties, and children.

Learn more in the Dump() topic.

Lua
return function()
-- The following prints the dump for the pult object
Printf("=============== START OF DUMP ===============")
Pult():Dump()
Printf("================ END OF DUMP ================")
end