Commands › General › Create Section From Object
Create Section From Object
Coming soon
Before you run this
Active document must be open with an active view. User must be able to pick points or select elements in the view.
After it runs
A new ViewSection is created in the document, oriented perpendicular to the picked line. Section is NOT placed on a sheet (separate command).
When to use this
- User wants to create a section view through two arbitrary points.
- User wants to create a section view along a linear element (pipe, duct, wall).
- User needs a custom section not aligned to any grid.
Don't use this when
Creating sections along gridlines (use CreateSectionFromGridlineCommand). Creating sections through corridors (use CreateSectionForCorridorCommand).
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
mode |
config | string |
no | "points" | Selection mode: points or elementEndpoints |
Returns
| Name | Type | Description |
|---|---|---|
CreatedSection | ViewSection | The created section view |
What you'll see in the chat
on start
Creating a section view from your selected points...
Setting up custom section view...
Setting up custom section view...
thinking
Getting start and end points...
Calculating section orientation...
Determining section depth and height from levels...
Creating section view box...
Calculating section orientation...
Determining section depth and height from levels...
Creating section view box...
on success
Section created: {CreatedSection} at 1:{Scale}
on failure
Couldn't create 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_from_object- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
create section from object · section from points · section from element · custom section · user-defined section
Patterns: create * section * object · create * section * points · section * from * element
Related
| Related commands | CreateSectionFromGridlineCommand · PlaceViewOnSheetCommand |
|---|---|
| Pillar | General |