Skip to content

LISP: namedobjdict, dictsearch, dictnext and tblobjname are not defined, so routines cannot reach LAYOUT and other non-graphic objects #1659

Closed

Description

@Rickpixell

Environment: CADCraft 0.8.0 (release MSI, cadcraft-cli 0.8.0), Windows 11 Pro. CLI output only; no other program involved. Reproduced on v0.8.0; main at 0b32c2e reads the same in the lines under Hint. Split out of #1654 (one gap per ticket, as the triage bot asked).

Commands are bash; PowerShell 5.1 strips the inner quotes.

Steps to reproduce

cadcraft-cli run --metric --cmd 'lisp {"code":"(namedobjdict)"}'
cadcraft-cli run --metric --cmd 'lisp {"code":"(dictsearch (namedobjdict) \"ACAD_LAYOUT\")"}'
cadcraft-cli run --metric --cmd 'lisp {"code":"(dictnext (namedobjdict) T)"}'
cadcraft-cli run --metric --cmd 'lisp {"code":"(tblobjname \"LAYER\" \"0\")"}'

Expected

The dictionary and table access functions, so a routine can find the LAYOUT objects, plot settings and other non-graphic objects and read or entmod them.

Actual (0.8.0)

; error: no function definition: NAMEDOBJDICT (resp. DICTSEARCH, DICTNEXT, TBLOBJNAME), with RC 0.

Hint

GitHub code search of the repository finds none of the four names (searched 19 Oct, not built). Related, not duplicates: #648 (AutoLISP conformance corpus), #1335 (LISP follow-up, does not add these functions).

Case files and logs available on request.

Activity

  1. ticket-craft commented on Oct 19, 2026

    @ticket-craft

    Possibly related: #1654, #1660 and #648.

  2. SBaksa commented on Oct 20, 2026

    @SBaksa
    Contributor

    I'd like to take this one, together with #1661 (same groundwork: LISP reaching non-graphic objects). Plan: namedobjdict, dictsearch, dictnext and tblobjname over the drawing's named object dictionary (ACAD_LAYOUT and the others) and its tables, with entity names that entget can read, plus tests.

  3. cdwilson127 commented on Nov 10, 2026

    @cdwilson127

    Still reproduces on CADCraft 0.18.0 (cadcraft-cli 0.18.0, 32238e8), with the same steps as above.

  4. added a commit that references this issue on Nov 10, 2026
    b9efa2f
  5. dotCooCoo commented on Nov 19, 2026

    @dotCooCoo
    Contributor

    Fixed in #1802, merged 2026-11-18. It is expected in v0.21.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions