Move fixtures to another fixture type with the same DMX mode
gma3_patch_retypeMoves fixtures to a matching fixture type after a GDTF or library import, preserving FIDs, addresses, cells, groups, and preset values; mismatched DMX modes are refused.
Instructions
Moves fixtures to another fixture type in the show whose DMX mode of the same name has the same channels and footprint (refused otherwise), keeping FIDs, addresses, cells, groups and preset values. Use it after importing a fixed revision of a GDTF or library type: the fixtures move from the old import to the new one, then gma3_patch_remove_type removes the old type. Also moves fixtures between a type and its layout copy (the same as gma3_assign_cell_layout). Runs one patch session (isolation-checked, committed with NO UNDO); requires exclusive: true. The read-back checks each fixture's type; a clean success lists each fixture as {fid, type: [before, after]} in items (detail: true for the rows). Needs bridge 0.29.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The target fixture type, by number or name (a number when two types share a name, e.g. two imports of one GDTF). | |
| detail | No | Return the full result on a success too: every step's detail and each fixture's state before and after (default false: a clean success, committed and read back matched or not requested, lists one entry per fixture in items; anything else is always returned in full). | |
| verify | No | Read the patch back after the commit and compare (default true). | |
| fixtures | Yes | FIDs to retype. | |
| exclusive | No | Required, must be true: confirms nobody else uses the console while this runs (see the description). Without it the call is refused and nothing is sent. |