0 Members and 1 Guest are viewing this topic.
OK so... I need an IF statement and an IF NOT statement for each scale in question? or just the IF NOT?I'm using this code FYI:Code - Auto/Visual Lisp: [Select](defun _exists (dictionary name / d) (if (setq d (cdr (assoc -1 (dictsearch (namedobjdict) dictionary)))) (dictsearch d name) ))(IF (_exists "ACAD_SCALELIST" "TEST") (command "-scalelistedit" "Add" "TEST" "1:100" "e")(command "-scalelistedit" "Add" "TEST" "Y" "1:100" "e"))Thanks...
(if (find-scale "TEST") (command "-scalelistedit" "Add" "TEST" "Y" "1:100" "e") (command "-scalelistedit" "Add" "TEST" "1:100" "e"))