vw_set_lighting_device_fields
Bulk-edit Vectorworks Spotlight lighting device fields in one undo step. Validates all selectors and field names first, so invalid input changes nothing.
Instructions
Bulk-edit Lighting Device fields in one undo step.
updates is a list of {selector, "fields": {name: value}} where selector is
one of: "uuid"; "position" + "unit_number" (unit numbers repeat per
position); "unit_number" alone if unique; or "channel" if unique.
Example: [{"position": "1E", "unit_number": "3", "fields": {"Channel": "101",
"Color": "R02"}}].
All selectors and field names are validated first; if any fail, nothing
changes. Revert exactly this call with vw_revert_last. Universe / DMX Address edits are applied via UniverseAddress
(Spotlight's source of truth). Returns before/after per device as re-read
from Vectorworks, with not_applied listing anything Spotlight overrode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |