Function Entry: ATOMS-FAMILY

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: ATOMS-FAMILY

Name

atoms-family

Class

Function

Syntax

(atoms-family format [symlist])

Arguments and Values

  • format: integer; 0 to return symbols as a list of symbol objects, 1 to return them as a list of strings.
  • symlist (optional): a list of strings naming symbols to look up. When supplied, the result has the same length as symlist; for each name, the corresponding result element is the symbol (or its string name) if defined, or nil if undefined.

Description

Returns a list of currently defined symbols in the active document namespace. With only format, returns every defined symbol. With format and symlist, returns only entries for the named symbols, in the same order, with nil for any name that is not currently defined.

Return Values

A list whose elements are either symbols or strings, depending on format.

Side Effects

None.

Examples

  • (atoms-family 0) returns every defined symbol as a list of symbols.
  • (atoms-family 1 '("CAR" "CDR" "XYZ")) returns ("CAR" "CDR" nil) if XYZ is not defined.

Availability

  • AutoCAD 2026: documented.
  • BricsCAD V26: presumed compatible.
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Source Notes