Commands  ›  General  ›  Create Section For Corridor

Create Section For Corridor

General writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document must be open. At least one corridor room must exist (host or linked). For single mode: user must have interactive access to select elements.

After it runs

Cross-section view(s) created through corridor(s) using wall normal ray-casting. Sections are NOT placed on sheets (separate command).

When to use this

Don't use this when

Creating sections along gridlines (use CreateSectionFromGridlineCommand). Creating room elevations (use CreateRoomElevationViewsCommand). Creating sections through non-corridor rooms.

Inputs

NameKindTypeRequiredDefaultDescription
Corridor selection Room yes Corridor room to create section through
"Select a corridor room"
mode config string no "single" Execution mode: 'single' or 'all'
Scale config int no 50 View scale for the section

Returns

NameTypeDescription
CreatedSectionViewSectionThe created section view (single mode)
SectionsCreatedintNumber of sections created (all mode)

What you'll see in the chat

on start
Creating corridor section view...
Setting up cross-section through corridor...
thinking
Resolving corridor selection...
Validating corridor room type...
Calculating wall normals and ray-casting...
Creating section view box...
on success
Corridor section created: {viewName}
on failure
Couldn't create corridor section: {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/create_section_for_corridor
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

corridor section · create corridor section · section through corridor · corridor cross section
Patterns: create * section * corridor · create section for corridor · corridor * section

Related commandsCreateRoomElevationViewsCommand · CreateFloorplanCommand
PillarGeneral