Commands  ›  Containment  ›  Design Containment System

Design Containment System

Containment writes to model Public API · not yet exposed

Coming soon

Before you run this

Active Revit document must be open. Adelphos JSON file must exist at the configured path. Cable tray family types must be loaded in the model. Level must exist near the base point Z.

After it runs

Cable tray segments, elbow fittings, tee fittings, transitions, and containment accessories are created in the model. A 3D section box is set around imported elements. A run log is written.

When to use this

Don't use this when

Creating containment manually element-by-element (use Revit native tools). Importing piping or ductwork (use DesignDrainageSystemCommand or ventilation commands). Editing existing containment routes (use Revit editing tools).

Inputs

NameKindTypeRequiredDefaultDescription
BasePoint selection XYZ yes Base point for containment placement
"Pick Revit basepoint (target origin for import)"
JsonPath config string no null Path to Adelphos JSON file

Returns

NameTypeDescription
CurvesCreatedintNumber of MEP curve segments created
ElbowsPlacedintNumber of elbow fittings placed
TeesPlacedintNumber of tee fittings placed
BlocksPlacedintNumber of family instances placed

What you'll see in the chat

on start
Importing containment system from JSON...
Setting up cable tray layout...
Preparing containment design import...
thinking
Reading JSON containment data...
Resolving MEP types and levels...
Creating cable tray segments...
Placing elbow and tee fittings...
Importing containment accessories...
Finalizing containment model...
on success
Containment imported! Created {CurvesCreated} segments, {ElbowsPlaced} elbows, {BlocksPlaced} accessories.
on failure
Containment import 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/design_containment_system
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

design containment · design the containment · containment system · create containment · cable tray · place cable trays
Patterns: design * containment · create * containment · containment * design · cable tray * design · place * cable tray

Related commandsDesignSmallPowerSystemCommand · DesignLightingSystemCommand · DesignFireAlarmSystemCommand · DesignMechPowerSystemCommand
PillarContainment