-
-
Notifications
You must be signed in to change notification settings - Fork 5
SelectionFirst
Anthony Headley edited this page Apr 19, 2020
·
2 revisions
Returns the first selected fxtures SubfixtureIndex, X, Y and, Z grid positions. The Fixtures subfixture ID is a representation of the fixture within the patch and does not directly reflect the fixtures FID or CID, for example. A fixture with no FID or CID still does have a valid SubfixtureIndex.
Name | Description | Optional |
---|
int, int, int, int : SubfixtureIndex, GridX, GridY, GridZ
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 1 thru 4
local index, x, y, z = SelectionFirst()
Echo("index: %d %d/%d/%d", index, x, y, z) -- index: 1 0/0/0