revit.selectionChanged
Bridge event on the BuildPlan add-in's WebView bridge. The add-in pushes it to the panel. Runs on `revit-ui-thread-inline`.
| wire name | revit.selectionChanged |
| C# constant | BridgeMessage.Names.SelectionChanged |
| kind | event |
| direction | addin-to-panel |
| runs on | revit-ui-thread-inline |
Raised from Revit’s own UIApplication.SelectionChanged, on Revit’s UI thread but OUTSIDE the external-event dispatcher.
What these words mean
kind. query = changes nothing a later message can observe. command = it does. event = the add-in pushes it, unasked. DECLARED per message, never derived from the prefix — the prefix is a THREAD decision.
runs on. revit-api-thread = inside the ExternalEvent dispatcher (ADR-4). revit-ui-thread-inline = on Revit’s main loop but OUTSIDE the dispatcher, straight from a callback Revit invokes. beside-the-dispatcher = off Revit’s main loop, on a thread-pool thread (ADR-11, ADR-31).
Source of truth: BuildPlan.Core/Bridge/BridgeMessage.cs in the plugin repository.