..
2026-02-01 01:26:09 +04:00
2026-02-01 01:26:09 +04:00

AS Batch Attribute Editor (AutoLISP)

This tool lets you select an area in your drawing, list unique block names starting with AS*, list unique attribute tags for a chosen block, and then change one attribute value for all matching blocks inside the selected area.

Files

  • AS_AttrBatch.lsp — AutoLISP logic (this is the only required file) No .dcl file is used — this is a command-line tool.

Install / Run

  1. Copy AS_AttrBatch.lsp into any folder.
  2. In AutoCAD run APPLOAD and load AS_AttrBatch.lsp.
  3. Run command: ASBATCHATTR

How to use

  1. Select a zone/part of the drawing (window/crossing selection is fine), then press Enter.
  2. Choose the block:
    • Option Pick: click a block in the selected zone
    • Option List: choose from a numbered list
    • The list shows unique block names with a count like AS_VFD (50)
  3. Choose the attribute tag from the numbered list.
  4. Type the new value and press Enter.

Only the chosen attribute tag is updated. All other attributes remain unchanged.