Commands  ›  General  ›  Create3 D Section Box

Create3 D Section Box

General writes to model Public API · not yet exposed

Coming soon

Before you run this

Active document must be open. A 3D view must exist in the model.

After it runs

The active 3D view has a section box applied around the selected geometry.

When to use this

Don't use this when

Creating 2D section views (use CreateSectionFromGridlineCommand). Clearing section boxes (use Create3DSectionBox.ClearSectionBox directly).

Inputs

NameKindTypeRequiredDefaultDescription
Elements selection Element yes Elements or rooms to enclose in section box
"Select elements for section box"
Mode config string no "elements" Selection mode: 'elements' or 'rooms'
Margin config double no 1.0 Margin around selection in feet

Returns

NameTypeDescription
ResultSectionBoxResultSection box creation result

What you'll see in the chat

on start
Creating a 3D section box around your selection...
Setting up the section box for the 3D view...
thinking
Checking for a 3D view...
Gathering selected elements...
Calculating bounding box...
Applying section box to view...
on success
Section box created from {ElementCount} element(s).
on failure
Could not create section box: {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/create3_dsection_box
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

create 3D section box · 3D section box · section box from elements · section box from rooms · isolate 3D view
Patterns: create * 3D section box · section box * elements · section box * rooms · 3D * section box

PillarGeneral