Lisp Question - entsel
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Lisp Question - entsel

 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD
Author Message
mlv
Guest





Posted: Fri Sep 09, 2005 4:10 pm    Post subject: Lisp Question - entsel Reply with quote

When selecting an entity with entsel, e.g.

(setq ent (entsel "\nSelect entity: "))

in the event of a null pick, is there any way to establish whether the user
clicked on an empty area of the screen, or whether the user hit 'return' on
the keyboard (or right-clicked on the mouse)?
--
Mike
-Please remove 'safetycatch' from e-mail address before firing off your
reply-

Back to top
Paul Turvill
Guest





Posted: Fri Sep 09, 2005 4:10 pm    Post subject: Re: Lisp Question - entsel Reply with quote

Check out the ERRNO variable; 7 = bad pick, 52 = rt click/enter.
___

"mlv" <mike.safetycatchvincent@jet.uk> wrote in message
news:dfs4fj$7c6$1@box-public-8.jet.uk...

Quote:
in the event of a null pick, is there any way to establish whether the
user clicked on an empty area of the screen, or whether the user hit
'return' on the keyboard (or right-clicked on the mouse)?
Back to top
mlv
Guest





Posted: Fri Sep 09, 2005 8:10 pm    Post subject: Re: Lisp Question - entsel Reply with quote

Paul Turvill wrote:
Quote:

Check out the ERRNO variable; 7 = bad pick, 52 = rt click/enter.

Thanks Paul.

Good to see you still frequent this ng (I've been away for some considerable
time).
--
Mike
-Please remove 'safetycatch' from e-mail address before firing off your
reply-

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB