Homeโ€บ Blogโ€บ SLTC LISP: Select Text Containing Pattern Free Download
๐Ÿ“ LISP

SLTC LISP: Select Text Containing Pattern Free Download

๐Ÿงฎ 1  |  ๐ŸŸข 1
12 Jun 2026 Trishunya Team
SLTC LISP: Select Text Containing Pattern Free Download
๐Ÿ“ LISP · CAD UTILITIES

SLTC LISP: Select Text Containing Pattern (Free AutoLISP Download)

๐Ÿ“… 12 Jun 2026 ๐Ÿท๏ธ CAD BGBgol Global
SLTC AutoLISP routine, Select Text Containing Pattern, shown inside a CAD window

SLTC selects every TEXT entity in the drawing whose content matches a pattern you specify, starts with, ends with, or contains a given substring. Native CAD find/search tools typically lack this kind of pattern-based filtering; SLTC fills that gap and leaves the matching text selected for further batch editing.

TXTFIND-bgol (Select Text Containing Pattern)

CATEGORY
Text Lisps
COMMAND NAME
SLTC
LISP FILE
TXTFIND-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 pattern-based text search utilities used in CAD 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

SLTC selects every TEXT entity in the drawing whose content matches a pattern you specify, starts with, ends with, or contains a given substring. Native CAD find/search tools typically lack this kind of pattern-based filtering; SLTC fills that gap and leaves the matching text selected for further batch editing.

How to Use

  1. Load TXTFIND-bgol.lsp into your CAD session (drag-and-drop the file onto the drawing window, or use the APPLOAD command).
  2. Type SLTC at the command line and press Enter.
  3. Enter the search text/substring when prompted.
  4. Choose the match mode: Starts, Ends, or Contains (defaults to Contains if you just press Enter).
  5. Every TEXT entity in the drawing matching your pattern is selected and grip-highlighted. Run any further command (MOVE, CHPROP, ERASE, etc.) and it acts on that selection.

Why Use It

  • Fills a native gap, provides prefix/suffix/substring matching not available in standard CAD find/search tools.
  • Time savings, instantly selects all matching text across a drawing instead of manually scanning and picking each one.
  • Flexible, supports three different matching behaviors for varied search needs.

Where to Use It

  • Selecting all street/road name labels ending in "Road" (or similar suffix) for batch editing or formatting.
  • Selecting all text entities starting with a specific letter or prefix (e.g. all point labels starting with "N" for north-side points).
  • Any drawing QA or batch-editing task requiring text entities filtered and selected by a naming pattern rather than manual picking.

Notes

  • Matching uses AutoLISP's native wcmatch wildcard function and is case-sensitive.
  • Scans the entire drawing (ssget "_X"), not just the current viewport.
  • If nothing matches, the command reports that plainly and the previous selection is left untouched.
  • 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 SLTC work on?

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

Matching uses AutoLISP's native wcmatch wildcard function and is case-sensitive.

What is the main benefit of using SLTC?

Fills a native gap, provides prefix/suffix/substring matching not available in standard CAD find/search tools.

Is SLTC free to use for commercial projects?

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

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