Homeโ€บ Blogโ€บ A2TX LISP: Text from Selected Attribute Block Free Download
๐Ÿ“ LISP

A2TX LISP: Text from Selected Attribute Block Free Download

๐Ÿงฎ 1  |  ๐ŸŸข 1
27 Jan 2026 Trishunya Team
A2TX LISP: Text from Selected Attribute Block Free Download
๐Ÿ“ LISP · CAD UTILITIES

A2TX LISP: Text from Selected Attribute Block (Free AutoLISP Download)

๐Ÿ“… 27 Jan 2026 ๐Ÿท๏ธ CAD BGBgol Global
A2TX AutoLISP routine, Text from Selected Attribute Block, shown inside a CAD window

A2TX reads every attribute value from one or more selected attribute blocks and creates a new plain TEXT entity for each value, placed on a dedicated layer. This preserves the entered attribute data as independent, editable plain text, even if the source attribute block is later exploded, which would otherwise revert its attributes to their tag/prompt definitions and lose the actual entered values.

ATT2TXT-bgol (Text from Selected Attribute Block)

CATEGORY
Block Lisps
COMMAND NAME
A2TX
LISP FILE
ATT2TXT-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 extracting attribute values to plain text used in survey benchmark and station labeling workflows. 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

A2TX reads every attribute value from one or more selected attribute blocks and creates a new plain TEXT entity for each value, placed on a dedicated layer. This preserves the entered attribute data as independent, editable plain text, even if the source attribute block is later exploded, which would otherwise revert its attributes to their tag/prompt definitions and lose the actual entered values.

How to Use

  1. Load ATT2TXT-bgol.lsp into your CAD session (drag-and-drop the file onto the drawing window, or use the APPLOAD command).
  2. Type A2TX at the command line and press Enter.
  3. Select the attribute block(s) whose attribute values should be converted to text, then press Enter to finish selection.
  4. The routine reads every attribute field's current value from each selected block and creates a matching plain TEXT entity at the attribute's own position, on a dedicated layer, BGOL-A2TX (colour yellow).

Why Use It

  • Preserves data, keeps attribute information accessible as plain text even if the attribute block is later exploded.
  • Broader command compatibility, many editing/analysis commands only work on TEXT entities, not attribute blocks; converting to text unlocks those workflows.
  • Flexible, works regardless of how many attribute fields the block definition contains.
  • Organized, output text is placed on a separate layer, keeping converted values distinguishable from the original block geometry.

Where to Use It

  • Preparing a drawing containing benchmark/station attribute blocks (e.g., TBM markers with elevation, description, and ID attributes) for operations that require plain text, such as text-based QA checks, FIND, or export routines.
  • Archiving or migrating attribute data into a more universally-editable text format before block cleanup or exploding.
  • Any workflow needing to extract and retain attribute block data as standalone, independently movable/editable text.

Notes

  • Only blocks that actually contain attributes are matched by the selection filter (equivalent to AutoCAD's "has attributes" flag).
  • New text height matches each source attribute's own height where available; otherwise falls back to *bgol-a2tx-height* (default 2.5) near the top of the .lsp file.
  • 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 A2TX work on?

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

Only blocks that actually contain attributes are matched by the selection filter (equivalent to AutoCAD's "has attributes" flag).

What is the main benefit of using A2TX?

Preserves data, keeps attribute information accessible as plain text even if the attribute block is later exploded.

Is A2TX free to use for commercial projects?

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

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