measure_line
Measure an open polyline's length in feet at the drawing scale, optionally committing it as a linear takeoff shape (base, transition, feature strip).
Instructions
Measure an open polyline (min 2 points, image px): length_lf at the sheet's scale. Requires the scale to be set. Pass condition to commit it as a linear shape (base, transitions, feature strips). Coordinates are image px at render scale 2.0: PDF pt × 2, origin top-left, y down (the browser canvas's native space). Sheet payloads carry dims in both px and pt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pts | Yes | ||
| sheet | Yes | ||
| condition | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npts | Yes | ||
| shape_id | No | Present when condition was passed and the shape committed | |
| length_lf | Yes |