PresetDocView:GetChannelCount

From Moving Light Assistant
Jump to: navigation, search

GetChannelCount()

Returns an integer.

This function will return the number of channel rows displayed in the Preset Documentation view for the currently selected preset.

Example.

numChannels = PresetDocView:GetChannelCount()

This would assign to the variable numChannels the number of channels displayed in the channel list for the selected preset.