leonucadomi Posted February 21, 2024 Posted February 21, 2024 Hello: To get a point I use the getpoint command example: (setq pt1 (getpoint)) well but yes I already know what coordinate that point is example 0,0 How do I get the pt1 variable to store that value? in other words pt1=0,0 help please Quote
Tsuky Posted February 21, 2024 Posted February 21, 2024 Simply whith: (without initget) (setq pt1 (getpoint "\nPoint <0.0 0.0 0.0>?: ")) (if( null pt1) (setq pt1 '(0.0 0.0 0.0))) 1 Quote
leonucadomi Posted February 21, 2024 Author Posted February 21, 2024 thanks i used (setq pt1 (list 0 0 0)) 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.