LSP · v0.2 · Experimental
TXTTOOLS
Find/recolour text and review suspected text overlaps without automatic rearrangement.
- Runs on
- AutoCAD · Windows
- Commands
- TXTTOOLS
- Author
- Myo Myint Maung
How to use
- 01
Download and load
APPLOAD TXTTOOLS.lsp; type TXTTOOLS and choose 1 or 2.
- 02
Choose a function
For Find, enter literal text, match mode and scope; inspect hits, then optionally choose Colour and confirm the ACI colour.
- 03
Review and check
For overlaps, choose up to 1,500 text objects and a non-negative clearance; inspect each pair with Next/Zoom/Exit.
Functions and explanation
| Function | What it does |
|---|---|
| 1 — Find/recolour text | Case-insensitive literal word/phrase search in TEXT/MTEXT, using Contains or Whole matching within Select or Current scope. Select matches, or confirm recolouring to ACI 1–255 / 256 ByLayer. |
| 2 — Review overlaps | Find suspected WCS XY text-bounding-box conflicts with an optional minimum clearance, then highlight each pair and choose Next, Zoom or Exit. No text is moved or deleted. |
Limits and responsible use
- Search targets top-level TEXT/MTEXT, not block attributes or a full drawing-wide text extraction. Whole-word boundaries recognise ASCII letters, digits and underscore.
- The search parser strips common MTEXT formatting, not every possible rich-text construct.
- Recolour removes entity-level True Color/colour-book overrides but retains inline MTEXT colour overrides, so visible text may still retain some formatting colours. Locked/unwritable objects are skipped.
- Overlap review is a bounding-box approximation, not exact glyph intersection; maximum 1,500 text objects per review. WCS XY ignores depth.
- No automatic overlap correction. Esc may leave completed recolouring; use UNDO as needed. Not executed in AutoCAD.
Test on a drawing copy first
Static source review only. This uploaded version has not been executed inside AutoCAD here. Use Windows AutoCAD with Visual LISP/ActiveX; other hosts and platforms are not verified. Keep a backup and check results before project use.
The download preserves the original uploaded file bytes. Published 31 Oct 2026.