grandMA3 User Manual Publication
GetRTChannels(integer[,boolean] OR handle[,boolean])
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » GetRTChannels(integer[,boolean] OR handle[,boolean])
|
Version 2.1
|
Description
The GetRTChannels Lua function returns a table with RT Channel indexes or a table with handles to the RT Channel objects. There are two different types of arguments for this function.
Arguments
- Integer:
The integer should be the index number for a (sub)fixture. - Boolean (Optional):
- True:
The returned table contains handles for RT Channel objects. - False (default):
The returned table contains integers index values to the RT Channel objects.
- True:
- OR -
- Handle:
The handle should relate to a (sub)fixture object. - Boolean (Optional):
- True:
The returned table contains handles for RT Channel objects. - False (default):
The returned table contains integers index values to the RT Channel objects.
- True:
Return
- Table:
The returned table can be a list of RT Channel indexes or handles to the same RT Channels.
Examples
Example 1
This example prints a list of RT Channel indexes for the first fixture in the selection. It uses an index number as input:
Lua |
return function() |
Example 2
This example prints a list of RT Channel indexes and attributes for the first fixture in the selection. It uses a handle as the input:
Lua |
return function() |