Commands  ›  Architecture / Doors and Windows  ›  Architecture Swap Door Types To Match Door Spec

Architecture Swap Door Types To Match Door Spec

Architecture / Doors and Windows writes to model Public API · not yet exposed

Coming soon

Before you run this

Doors placed throughout the project with rooms placed both sides. Updated door spec defined (room-pair → door type, hardware set, fire rating). Door types loaded.

After it runs

Each door's Type Name updated to the spec's value for its room pair; instance overrides preserved where the spec doesn't conflict; audit trail records each swap.

When to use this

Don't use this when

External doors (use the external command), curtain wall openings, or doors where the spec has no entry for the room pair (those are reported as unmapped).

Decision flow

1. Read every Door instance + its room pair (room-from / room-to).
2. Look up the spec entry per room pair.
3. If the door's current type ≠ spec type, change the instance type in one Transaction.
4. Verify hardware set and fire rating are set per spec; preserve instance overrides where they don't conflict.
5. Report doors swapped, doors already correct, and unmapped doors that need a manual decision.

What you'll see in the chat

on start
I'll align every door to the door spec now.
thinking
Walking each door and matching its room pair to the spec entry.
on success
Done — {n_swapped} doors swapped, {n_already_correct} already correct, {n_unmapped} need manual decision.
on failure
Couldn't swap door types: {error}.

REST API

Not yet exposed

This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:

  • POST /api/v1/commands/architecture_swap_door_types_to_match_door_spec
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

swap door types · door spec change · fire rating uplift · door schedule alignment · mass type swap

PillarArchitecture / Doors and Windows