You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LISP: namedobjdict, dictsearch, dictnext and tblobjname are not defined, so routines cannot reach LAYOUT and other non-graphic objects #1659
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).
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.
Activity
ticket-craft commentedon Oct 19, 2026
Possibly related: #1654, #1660 and #648.
SBaksa commentedon Oct 20, 2026
I'd like to take this one, together with #1661 (same groundwork: LISP reaching non-graphic objects). Plan:
namedobjdict,dictsearch,dictnextandtblobjnameover the drawing's named object dictionary (ACAD_LAYOUT and the others) and its tables, with entity names thatentgetcan read, plus tests.lisp: CodeRabbit follow-ups on non-graphic objects (storytold#1659, s…
lisp: test an imported DIMSTYLE's group-105 handle (storytold#1659, s…
docs: a DIMSTYLE's own name is in group 105 (storytold#1659)
engine: install AutoLISP's object records with their own setter (stor…
cdwilson127 commentedon Nov 10, 2026
Still reproduces on CADCraft 0.18.0 (
cadcraft-cli 0.18.0, 32238e8), with the same steps as above.AutoLISP: handent and entget reach table records, layouts and diction…
AutoLISP: namedobjdict, dictsearch, dictnext, tblobjname; handent and…
dotCooCoo commentedon Nov 19, 2026
Fixed in #1802, merged 2026-11-18. It is expected in v0.21.0.