wimal Posted July 30, 2014 Share Posted July 30, 2014 I can select the line Usins entsel command. How can I find out the selected point (coordinates) with same time. Quote Link to comment Share on other sites More sharing options...
MSasu Posted July 30, 2014 Share Posted July 30, 2014 ENTSEL fuction will return a list containing the selected entity and the coordinates of the point picked by user: (cadr (entsel)) Quote Link to comment Share on other sites More sharing options...
MSasu Posted July 30, 2014 Share Posted July 30, 2014 Alternatively check SSGET and SSNAMEX functions which will give you more information on user's selection action. (ssnamex (ssget)) Quote Link to comment Share on other sites More sharing options...
wimal Posted July 30, 2014 Author Share Posted July 30, 2014 Thanks a lot for your quick reply. Quote Link to comment Share on other sites More sharing options...
wimal Posted July 31, 2014 Author Share Posted July 31, 2014 I used your first option. But results is not 100% crrect. I thing the point is someware inside the pick box. not exactlly on the object. Quote Link to comment Share on other sites More sharing options...
hanhphuc Posted July 31, 2014 Share Posted July 31, 2014 (nentselp ) Try use this pick point / coordinates (snap endpoint) of entity Quote Link to comment Share on other sites More sharing options...
MSasu Posted July 31, 2014 Share Posted July 31, 2014 I used your first option.But results is not 100% crrect. I thing the point is someware inside the pick box. not exactlly on the object. That't true, it will return the coordinates of picked point's (that't it, the center of pickbox); in most cases this isn't a point on selected entity. To project it on the entity please check the VLAX-CURVE-GETCLOSESTPOINTTO function. (nentselp ) Try use this pick point / coordinates (snap endpoint) of entity Please pay attention that for most entities this will return the same as ENTSEL. 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.