leonucadomi Posted February 21 Share Posted February 21 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 Link to comment Share on other sites More sharing options...
Tsuky Posted February 21 Share Posted February 21 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 Link to comment Share on other sites More sharing options...
leonucadomi Posted February 21 Author Share Posted February 21 thanks i used (setq pt1 (list 0 0 0)) Quote Link to comment Share on other sites More sharing options...
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.