I have a lisp and want to extend it a little. Can anyone tell me how to use ssget to get 3d polylines and attribute definitions here is an example of what im using (i just want to change text to attribute definition.
(defun c:textD (/ sset)
(if (setq sset (ssget "X" (list (cons 0 "text"))))
(command "_erase" sset "")