Homeโ€บ Blogโ€บ IBNP LISP: Insert Block at Line Endpoints / Intersections Free Download
๐Ÿ“ LISP

IBNP LISP: Insert Block at Line Endpoints / Intersections Free Download

๐Ÿงฎ 1  |  ๐ŸŸข 1
25 Jan 2026 Trishunya Team
IBNP LISP: Insert Block at Line Endpoints / Intersections Free Download
๐Ÿ“ LISP · CAD UTILITIES

IBNP LISP: Insert Block at Line Endpoints / Intersections (Free AutoLISP Download)

๐Ÿ“… 25 Jan 2026 ๐Ÿท๏ธ CAD BGBgol Global
IBNP AutoLISP routine, Insert Block at Line Endpoints / Intersections, shown inside a CAD window

IBNP inserts a chosen block at the endpoints, intersections, or both, of a set of selected lines and polylines, a fast way to mark "nodes" or "junctions" in drainage, road, or pipeline network drawings.

NODEBLK-bgol (Insert Block at Line Endpoints / Intersections)

CATEGORY
Block Lisps
COMMAND NAME
IBNP
LISP FILE
NODEBLK-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 automatic junction/node marking used in utility and drainage network 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

IBNP inserts a chosen block at the endpoints, intersections, or both, of a set of selected lines and polylines, a fast way to mark "nodes" or "junctions" in drainage, road, or pipeline network drawings.

How to Use

  1. Load NODEBLK-bgol.lsp into your CAD session (drag-and-drop the file onto the drawing window, or use the APPLOAD command).
  2. Type IBNP at the command line and press Enter.
  3. Choose a marking mode at the prompt: Intersections, Endpoints, or Both (the default).
  4. Select the lines/polylines to process, then press Enter to finish selection.
  5. Type the name of the block to insert when prompted.
  6. The routine detects the relevant junction points (per the chosen mode) among the selected entities and inserts a copy of the block at each one, on a dedicated layer, BGOL-IBNP (colour red). Coincident points (e.g. an endpoint that is also an intersection) are only marked once.

Why Use It

  • Flexible targeting, choice of endpoints only, intersections only, or both, adapting to different marking needs in a single command.
  • Time savings, automates finding and marking every junction across potentially many lines, instead of manually snapping and inserting blocks one at a time.
  • Consistency, ensures every junction of the selected network is marked uniformly with the same block.

Where to Use It

  • Road, railway, irrigation, or pipeline network drawings, where junction points need to be clearly marked for design reporting.
  • Urban development and waterway/drainage projects where node or junction identification (e.g., manholes, chambers, connection points) is a core deliverable.
  • Any network-style drawing (utility lines, drainage layouts) needing automatic junction/node markers before further labeling or reporting.

Notes

  • Intersections are computed pairwise between all selected entities; supports LINE, LWPOLYLINE and ARC entities.
  • Endpoints are read from each entity's curve start/end point, so it works consistently across the supported entity types.
  • Block scale and rotation default to 1/1/0; edit *bgol-ibnp-scale* and *bgol-ibnp-rot* near the top of the .lsp file to change the defaults.
  • Coincident-point tolerance defaults to *bgol-ibnp-tol* = 0.001 drawing units; adjust if your drawing uses a different precision.
  • 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 IBNP work on?

IBNP 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 IBNP?

Intersections are computed pairwise between all selected entities; supports LINE, LWPOLYLINE and ARC entities.

What is the main benefit of using IBNP?

Flexible targeting, choice of endpoints only, intersections only, or both, adapting to different marking needs in a single command.

Is IBNP free to use for commercial projects?

Yes. IBNP 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 IBNP command into my drawing?

Drag and drop NODEBLK-bgol.lsp onto your open drawing window, or load it through the APPLOAD command, then type IBNP 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