duanuys Posted April 9, 2014 Posted April 9, 2014 Say this is my code: (defun c:test() (setq list(getpoint "\nChoose point here") ) When you click on your autocad drawing i know that it stores the coordinates in a x,y,z format in a list.. How can i extract those numbers? Quote
Tharwat Posted April 9, 2014 Posted April 9, 2014 Firstly be careful to use a function as a variable which would popup a warning message then a conflict may take a place . (setq p (getpoint "\n Specify point :")) (setq x (car p) y (cadr p) z (caddr p) ) 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.