- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
EDIT: I'm embarrassed to report, it was just a syntax error further up in the whole .lsp file,
A missing bracket to close one portion. See thread for solution.
Thanks all, sorry to waste your time.
This lisp (part of a mystuff.lsp file auto loaded) worked fine in 2018 but no longer works in 2020.
(defun C:L0 () (command "-layer" "ON" "0" "m" "0" "") (command "regen")) ;;Change to layer 0 and regen
It just returns "unknown command" and does nothing.
Gemini AI (Google) suggested
(defun C:L0 () (setvar 'clayer "0"))
but it doesn't work either. It does work just added into command line. (setvar 'clayer "0")
Gemini suggested C:\LO but that didn't work either. GPTchat4 wasn't much use either.
What syntax changed in 2020? These no longer work either. Same reason?
(defun c:U0 () (command "-units" "2" "0" "2" "4" "0" "N" ) (GRAPHSCR));;;No decimal places (Princ) US0
(defun c:U1 () (command "-units" "2" "1" "2" "2" "0" "N" ) (GRAPHSCR)) ;;;1 decimal place US1
(defun c:U2 () (command "-units" "2" "2" "2" "8" "0" "N" ) (GRAPHSCR)) ;;;2 decimal places US2
Help appreciated.
Do you know all about the Roof Object? Learn it's secrets
http://ausaca.blogspot.com.au/p/roof-object-video-links.html
Solved! Go to Solution.