eplisp

AG Layers AIA v5 (AIA/NCS standard layers)

eplisp, the free multilingual LISP library

AG Layers AIA v5 (AIA/NCS standard layers)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsLAYAIACREATEALLLAYAIACREATEONLYLAYAIADELETEALLLAYAIADELETEONLY
CategoryLayer Tools
AuthorArthur Ganem (LetsBIMtogether)
SourceLetsBIMtogether/AutoLisp
LicenseMIT
Version5
RequirementsAutoCAD (full version; not LT) or BricsCAD. Uses ActiveX for layer descriptions and the -LINETYPE command to load linetypes.
Prompt languageEnglish
FilesAG_LayersAIA_v5.LSP (105 KB)
Added2026-10-26
Download the original fileSource repository

Creates or deletes about 1,450 US AIA/NCS v5 standard layers with colors, linetypes and descriptions, for every discipline or chosen discipline codes.

AG Layers AIA by Arthur Ganem (LetsBIMtogether) sets up a drawing or template following the US National CAD Standard layer guidelines. It suits offices that work with AIA layer names or receive drawings that must follow them.

Overview

The layer definitions are stored in the file and grouped by discipline: A architecture, B geotechnical, C civil, E electrical, F fire protection, G general, H hazardous materials, I interiors, L landscape, M mechanical, P plumbing, Q equipment, R resource, S structural, T telecommunications, V survey/mapping and X other. LAYAIACREATEALL creates all of them; LAYAIACREATEONLY asks for codes such as A, MEP or AMEP and creates only those groups. Existing layers are skipped. Each new layer gets its color, linetype and description, and the CENTER2, DASHED2 and HIDDEN2 linetypes are loaded from acad.lin when needed.

LAYAIADELETEALL and LAYAIADELETEONLY remove the standard layers again, which is useful for cleaning up a template. Layers that are in use or current are skipped and counted in the summary.

How to use it

  1. Load AG_LayersAIA_v5.LSP with APPLOAD.
  2. Type LAYAIACREATEONLY and enter one or more discipline codes such as A, MEP or AMEP, or type LAYAIACREATEALL for every discipline.
  3. Read the summary on the command line and review the new layers in the Layer Properties Manager.
  4. To remove unused standard layers later, run LAYAIADELETEONLY with the codes, or LAYAIADELETEALL.

Notes and limitations

  • Adds a large number of layers to the drawing; try it in a template or a copy first.
  • The delete commands remove layers from the drawing, but only layers from the standard list that are not in use and not current.
  • Codes are matched letter by letter: every discipline letter that appears anywhere in your input is selected, so MEP selects M, E and P. Type the codes without spaces, because a space ends the input.
  • The author's README asks you to paste four linestyles from the companion file AG_LayersAIA_v5_LineStyles.dwg (in the repository, not included here) before creating layers. The code itself uses only CENTER2, DASHED2 and HIDDEN2 and loads them from acad.lin; if a linetype cannot be loaded, that layer is not created.
  • The naming follows the US standard, not Turkish or ISO layer conventions.

Source and license

This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.

References

  1. Source repository: LetsBIMtogether/AutoLisp – https://github.com/LetsBIMtogether/AutoLisp/tree/7e3cb6c98e19043fed2c4865224fddf7b300a355
  2. Author: Arthur Ganem (LetsBIMtogether) – https://github.com/LetsBIMtogether
  3. License: MIT – https://github.com/LetsBIMtogether/AutoLisp/blob/7e3cb6c98e19043fed2c4865224fddf7b300a355/LICENSE

Found a mistake, or are you the author of this tool? Request a correction or removal