Set several attributes (a look) in one call
gma3_set_attributesSet multiple fixture attributes and intensity on explicit fixtures or the current selection in one call, with optional attribute pre-checks and programmer verification.
Instructions
Set a whole look on one target in one call: intensity (At <value>, percent) and/or several attributes, each Attribute "<name>" At Absolute [<unit keyword>] <value>, in the order given. Stops at the first command the console rejects (partial result). Target is explicit: fixtures OR use_selection: true; with fixtures, ClearSelection and then a select (see gma3_set_attribute). Never clears programmer values. Note: setting one colour attribute activates the fixture's whole colour group in the programmer (the other mix channels at their defaults), so the programmer can hold more rows than attributes sent. Small explicit targets are pre-checked against the fixture types' attributes (check_attributes); the programmer is read back and every targeted fixture (and cell) is compared per attribute in the unit sent (verify), as gma3_set_attribute does. Serialised against this server's other mutations only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Attributes to set (up to 32), each once. | |
| verify | No | Read the programmer back after setting (default true): every targeted fixture must hold the value, compared in the unit it was sent in (percent of the attribute range, tolerance 0.5 %). A fixture without the attribute is reported as a mismatch. Needs plugin 0.3.2 or newer; older plugins yield verification 'unavailable'. | |
| fixtures | No | Explicit target: fixture IDs/ranges ("1 Thru 5", "1 + 3 + 5 Thru 8", "Fixture 101.1") or a group ("Group 5"). Exactly one of fixtures / use_selection is required. | |
| intensity | No | Intensity 0..100 percent, sent as `At <value>` (the Dimmer attribute). | |
| use_selection | No | Apply to the fixtures currently selected on the console (explicit opt-in). Fails before sending when nothing is selected. | |
| add_to_selection | No | With `fixtures`: keep the fixtures already selected and add the target to them, so previously selected fixtures ALSO receive the values (explicit opt-in). Default false: ClearSelection is sent first so exactly the named fixtures are targeted. ClearSelection only deselects; programmer values are never cleared. | |
| check_attributes | No | With `fixtures` resolving to at most 8 fixtures (default true): check each fixture type's attribute list first and fail before sending when a fixture lacks the attribute. Skipped for groups and larger targets. |