Commands › › Add Detail Line
Add Detail Line
Coming soon
Before you run this
Active document must be open with a detail-capable view (floor plan, section, drafting view). Coordinates x1, y1, x2, y2 must be provided in millimetres.
After it runs
A new DetailCurve is created in the active view. If a line style name was provided and found, it is applied to the new curve.
When to use this
- User wants to draw a detail line between two known coordinates.
- AI needs to add annotation lines to a drafting or detail view.
Don't use this when
Creating model lines in 3D (use ModelLine API instead). Drawing multiple connected lines (use a polyline command or loop externally). Creating filled regions (use AddFilledRegionCommand).
Inputs
| Name | Kind | Type | Required | Default | Description |
|---|---|---|---|---|---|
x1 |
config | number |
no | — | Start X in mm |
y1 |
config | number |
no | — | Start Y in mm |
x2 |
config | number |
no | — | End X in mm |
y2 |
config | number |
no | — | End Y in mm |
lineStyle |
config | string |
no | — | Optional detail line style name |
Returns
| Name | Type | Description |
|---|---|---|
Result | JSON | Detail line creation result with element ID |
What you'll see in the chat
on start
Drawing a detail line in the active view...
Creating your detail line now...
Creating your detail line now...
thinking
Converting coordinates from mm to feet...
Creating detail curve in the active view...
Applying line style if specified...
Creating detail curve in the active view...
Applying line style if specified...
on success
Detail line created successfully (ID: {Result}).
on failure
Could not create detail line: {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/add_detail_line- Request body schema (from
[RestApiParam]) - Response schema (from
[RestApiResponse]) - curl / JS / Python code examples
Keywords & intent patterns
add detail line · create detail line · draw detail line · detail curve · annotation line
Related
| Related commands | AddFilledRegionCommand |
|---|---|
| Pillar |