SelectionCount - hossimo/GMA3Plugins GitHub Wiki

SelectionCount() : int

Brief:

Returns a count of the number of fixtures selected

Paramiters:

Name Description Optional

Returns:

int : Count of fixtures selected.

Examples:

Patched Fixtures:

FID Gird Description
101 0/0/0 Dimmer 1
102 1/0/0 Dimmer 2
103 0/1/0 Dimmer 3
104 1/1/0 Dimmer 4

Fixture 2 thru 4

local count = SelectionCount()
Echo("Selected Count: %d", count) -- Selected Count: 3