Apply a preset to fixtures
gma3_apply_presetApply a stored grandMA3 preset to explicit fixtures or the current selection, verifying preset existence and non-empty targets before sending so values land in the programmer without clearing it.
Instructions
Recall a stored preset into the programmer for an explicit target: At Preset <pool>.<number> (or a preset by name). Target: fixtures OR use_selection: true (with fixtures, ClearSelection and a select first). Pre-checks (nothing sent on failure): the preset exists, and the target is not empty. Both matter: the console answers OK and changes nothing for a missing preset or an empty selection. A preset applies to every fixture that has its attributes, whatever type it was stored from. Read-back: every selected fixture (or its cells) must hold programmer values linked to the preset (the channel's preset link; needs bridge 0.27.0); a fixture the preset holds nothing for is a mismatch. Never clears programmer values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | Preset pool number: 1 Dimmer, 2 Position, 3 Gobo, 4 Color, 5 Beam, 6 Focus, 7 Control, 8 Shapers, 9 Video, 21.. All. | |
| preset | Yes | Preset number in the pool, or its name. | |
| verify | No | Read the programmer back and check the preset links (default true). | |
| 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. | |
| 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. |