1.0 KiB
1.0 KiB
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.dclfile is used — this is a command-line tool.
Install / Run
- Copy
AS_AttrBatch.lspinto any folder. - In AutoCAD run
APPLOADand loadAS_AttrBatch.lsp. - Run command:
ASBATCHATTR
How to use
- Select a zone/part of the drawing (window/crossing selection is fine), then press Enter.
- 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)
- Choose the attribute tag from the numbered list.
- Type the new value and press Enter.
Only the chosen attribute tag is updated. All other attributes remain unchanged.