command
revit.applyObjectClassColors
Bridge command on the BuildPlan add-in's WebView bridge. The panel sends it to the add-in. Runs on `revit-api-thread`.
CommandImplemented in the add-inpanel-to-addinruns on revit-api-thread
| wire name | revit.applyObjectClassColors |
| C# constant | BridgeMessage.Names.ApplyColors |
| kind | command |
| direction | panel-to-addin |
| runs on | revit-api-thread |
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.