Homeโ€บ Blogโ€บ DBOF LISP: Offset Polylines on Both Sides Free Download
๐Ÿ“ LISP

DBOF LISP: Offset Polylines on Both Sides Free Download

๐Ÿงฎ 1  |  ๐ŸŸข 1
07 Apr 2026 Trishunya Team
DBOF LISP: Offset Polylines on Both Sides Free Download
๐Ÿ“ LISP · CAD UTILITIES

DBOF LISP: Offset Polylines on Both Sides (Free AutoLISP Download)

๐Ÿ“… 07 Apr 2026 ๐Ÿท๏ธ CAD BGBgol Global
DBOF AutoLISP routine, Offset Polylines on Both Sides, shown inside a CAD window

DBOF offsets every selected polyline on both sides simultaneously, using separately specified right-side and left-side distances. Built for the common residential/subdivision layout scenario where only centerlines exist and both road edges (or canal edges, or right-of-way boundaries) need to be generated from them in one pass.

DBLOFST-bgol (Offset Polylines on Both Sides)

CATEGORY
Polyline Lisps
COMMAND NAME
DBOF
LISP FILE
DBLOFST-bgol.lsp
LICENSE
Open-source, free

Command Type: AutoLISP routine (works in AutoCAD, BricsCAD, ZWCAD and most AutoLISP-compatible CAD platforms)
Developed by: BGol Community, bgol.in

Inspired by the general concept of double-sided polyline offset utilities used in civil/road layout drafting. This is an original, independently written routine, new file name, new command name, new source code, created so the CAD community has a free, editable, open-source alternative.

Overview

DBOF offsets every selected polyline on both sides simultaneously, using separately specified right-side and left-side distances. Built for the common residential/subdivision layout scenario where only centerlines exist and both road edges (or canal edges, or right-of-way boundaries) need to be generated from them in one pass.

How to Use

  1. Load DBLOFST-bgol.lsp into your CAD session (drag-and-drop the file onto the drawing window, or use the APPLOAD command).
  2. Type DBOF at the command line and press Enter.
  3. Select all the polylines (e.g., road centerlines) that need to be offset on either side.
  4. Enter the right-side distance, then the left-side distance (these can differ, allowing asymmetric offsets).
  5. The routine offsets every selected polyline on both sides at once, producing two new offset polylines (one per side) for each original centerline, placed on a dedicated layer, BGOL-DBOF (colour yellow).

Why Use It

  • Produces both the right and left offset lines for many centerlines in a single operation, rather than running OFFSET twice (once per side) for every individual polyline.
  • Right/left distances can be specified independently, supporting asymmetric offsets (different road-edge widths, or one-sided setbacks) without needing separate commands.
  • Major time saver in layout/subdivision design where dozens of road centerlines need consistent edge-line generation.

Where to Use It

  • Generating road edge lines (curb lines, pavement edges) from centerlines in a residential or commercial layout/subdivision project.
  • Any infrastructure design task needing consistent, batch double-sided offsetting of multiple centerlines or reference lines (canal edges from a canal centerline, right-of-way boundaries from an alignment).
  • Speeding up layout plan preparation where many parallel offset lines are needed from a set of base centerlines.

Notes

  • Right and left are resolved using the polyline's own VLA Offset method with positive/negative distances, so the sense stays consistent regardless of the direction the polyline was originally drawn.
  • If an offset would collapse a segment to zero length (distance larger than the geometry allows), that individual offset is skipped rather than raising an error; other selected polylines are still processed.
  • Source code is fully open, feel free to study, modify, and redistribute it under the same open, free-for-all spirit.

Credits

Developed and shared for the CAD community by BGol Community. Website: https://bgol.in/ Free and open-source, use it, modify it, share it, for personal or commercial work alike.

Frequently Asked Questions

What CAD platforms does DBOF work on?

DBOF is a standard AutoLISP routine, so it runs in AutoCAD, BricsCAD, ZWCAD, and most other AutoLISP-compatible CAD platforms without modification.

What should I know before using DBOF?

Right and left are resolved using the polyline's own VLA Offset method with positive/negative distances, so the sense stays consistent regardless of the direction the polyline was originally drawn.

What is the main benefit of using DBOF?

Produces both the right and left offset lines for many centerlines in a single operation, rather than running OFFSET twice (once per side) for every individual polyline.

Is DBOF free to use for commercial projects?

Yes. DBOF is fully open-source and free to use, modify, and redistribute for both personal and commercial work, developed and shared by the BGol Community.

How do I load the DBOF command into my drawing?

Drag and drop DBLOFST-bgol.lsp onto your open drawing window, or load it through the APPLOAD command, then type DBOF at the command line to run it.

๐Ÿค About BGol Community

BGol Community of Advanced Surveying builds and shares free, open-source tools for the survey and CAD drafting community.

๐Ÿ™Œ Made with โค๏ธ by BGol Community of Advanced Surveying

Free, open-source, and built for the CAD community, for personal or commercial use, always.

Back to all articles