ILoveMadoka Posted July 16, 2021 Posted July 16, 2021 What is the difference between these and when would you opt for one over the other? (setq ss (ssget "X" '((0 . "text,mtext")(62 . 1)))) vs (setq ss (ssget "X" (list (cons 0 "TEXT,MTEXT")(cons 62 1)))) vs (sssetfirst nil (ssget "_x" '((0 . "TEXT,MTEXT") (62 . 1)))) Quote
Tharwat Posted July 17, 2021 Posted July 17, 2021 Once you know the differences between the two functions QUOTE and LIST then you will know the answer by yourself. 1 Quote
tombu Posted July 17, 2021 Posted July 17, 2021 Lee Mac explains the difference between the two functions QUOTE and LIST better than AutoCAD's help: http://www.lee-mac.com/quote.html The sssetfirst (AutoLISP) function selects the objects instead of simply creating a selection set. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.