Commands  ›  Architecture / Rooms  ›  Architecture Delete All Rooms In Current Project

Architecture Delete All Rooms In Current Project

Architecture / Rooms writes to model Public API · not yet exposed

Coming soon

Before you run this

The user has explicitly confirmed deletion. The current model has rooms placed.

After it runs

All Room elements removed from the project; the audit log holds a snapshot of every room (name, number, level, area) that existed prior; rooms-by-level counts reset to zero.

When to use this

Don't use this when

Routine cleanup, removing unplaced rooms (use Room Cleanup), or keeping selective rooms — those need the by-level command.

Decision flow

1. Snapshot every Room (name, number, level, area, computation height) into the audit log.
2. Confirm the user-supplied "I am sure" flag.
3. Delete every Room in one Transaction.
4. Verify zero Room elements remain.
5. Report the count deleted and the snapshot file path.

What you'll see in the chat

on start
I'll delete every room in the project — capturing a snapshot to the audit log first.
thinking
Snapshotting room name, number, level and area before deletion.
on success
Done — {n_deleted} rooms deleted. Snapshot saved to {snapshot_path} for restore reference.
on failure
Couldn't delete rooms: {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_delete_all_rooms_in_current_project
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

delete all rooms · room cleanup · model reset · room rebuild · destructive cleanup

PillarArchitecture / Rooms