eplisp

Insert Block at Text Points (IBOT)

eplisp, the free multilingual LISP library

Insert Block at Text Points (IBOT)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsIBOT
CategoryBlock Tools
AuthorBGol Community
Sourcethevijayparmar/bgol-cad-lisps
LicenseMIT
RequirementsAutoCAD (full version; not LT), BricsCAD, ZWCAD. Uses Visual LISP ActiveX (vla/vlax) functions.
Prompt languageEnglish
FilesTXTBLK-bgol.lsp (4 KB)
Added2026-10-26
Download the original fileSource repository

Inserts a block already defined in the drawing at the insertion point of every selected TEXT or MText, with a fixed scale of 1 and rotation of 0.

IBOT places symbols where text already marks a location. A typical case is a survey or utility drawing in which point numbers or labels were imported as text and every location now needs a marker block.

Overview

You select TEXT and MText objects and type the name of a block that already exists in the drawing. The routine inserts one reference of that block at each text's insertion point on the layer BGOL-IBOT (created in orange if missing) and reports how many blocks it placed. The texts themselves are not changed.

How to use it

  1. Load TXTBLK-bgol.lsp with APPLOAD.
  2. Make sure the block you want is defined in the drawing (insert it once if necessary).
  3. Type IBOT and press Enter.
  4. Select the TEXT and MText objects and press Enter.
  5. Type the block name and press Enter; one block is inserted at each text.

Notes and limitations

  • Scale (1) and rotation (0) come from two global variables at the top of the file; edit them there if you need other values.
  • Blocks are created with entmake, so attribute definitions in the block do not become attributes on the inserted references.
  • For MText the insertion point is its attachment point, which is not necessarily the visual center of the text.
  • Creates the layer BGOL-IBOT if it is missing.
  • The repository was published in 2026; test on a copy of the drawing first.

Source and license

This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.

References

  1. Source repository: thevijayparmar/bgol-cad-lisps – https://github.com/thevijayparmar/bgol-cad-lisps/tree/3acbe32f71b489f4c81dcd9372f989591a9be858/Block%20Lisps/Insert%20Block%20on%20Text
  2. Author: BGol Community – https://bgol.in/
  3. License: MIT – https://github.com/thevijayparmar/bgol-cad-lisps/blob/3acbe32f71b489f4c81dcd9372f989591a9be858/LICENSE

Found a mistake, or are you the author of this tool? Request a correction or removal