Commands  ›   ›  Layout Solve Plantroom Equipment With Preset

Layout Solve Plantroom Equipment With Preset

writes to model Public API · not yet exposed

Coming soon

Before you run this

preset json + equipment json + room dims required.

After it runs

Zero or more pending_placements rows + one solver_runs row.

When to use this

Don't use this when

Applying to Revit — that's LayoutApplyPendingPlacementsToRevitCommand.

Inputs

NameKindTypeRequiredDefaultDescription
PresetKind config string no "plantroom_layout" Deterministic config preset

Decision flow

1) Validate resolvers.
2) Build CpSatRoom from room dims.
3) Parse equipment JSON.
4) CpSatPlantroomLayoutSolver.Solve (records solver_runs).
5) For each placement, PendingPlacementsRepository.Enqueue under a new change.
6) Emit run_id + placements_staged + diagnostics.

What you'll see in the chat

on start
Solving plantroom layout…
thinking
Running CpSatPlantroomLayoutSolver…
Staging placements into pending_placements…
on success
Staged {placements_staged} placements.
on failure
Solve failed: {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/layout_solve_plantroom_equipment_with_preset
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

layoutsolveplantroomequipmentwithpreset · solve plantroom layout · cp-sat plantroom solve

Pillar