Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pause While Grip Edit ?

2 REPLIES 2
Reply
Message 1 of 3
rcunningham
189 Views, 2 Replies

Pause While Grip Edit ?

Hi Everyone,..... After using the sssetfirst function to enable the grips of a selection set, how would I pause my routine so that I can edit those objects until either right-click or enter?.....Currently my routine zooms to an entity in a selection set, I pick an insertion point and rotation angle, a block is inserted, and then zoom to the next entity in the selection set...... What I'd like is to be able to pause the program so that I can move the attibutes of the block before continuing on to the next entity.....Thanks, Robert
2 REPLIES 2
Message 2 of 3
rcunningham
in reply to: rcunningham

Ok, I can get the program to pause after highlighting the block's grips by throwing in a (while (/= ""(getstring))), but I cannot do anything because of the getstring, but it will continue after a right-click, which is getting me closer...... Any ideas of a command that I can use to fake it so I can use (while (eq 1 (logand 1 (getvar "cmdactive")))?..... Thanks, Robert
Message 3 of 3
Anonymous
in reply to: rcunningham

(grread) can interpret all kinds of input... cursor coordinates, picks,
keyboard input, etc. You might want to use it in some kind of while loop...
(while (not done)
(setq code (grread ...))
(cond
((= code ...)
etc.

--
John Uhden, Cadlantic/formerly CADvantage
--> mailto:juhden@cadlantic.com
--> http://www.cadlantic.com
2 Village Road
Sea Girt, NJ 08750
Tel. 732-974-1711
FAX 732-528-1332


"rcunningham" wrote in message
news:f091640.0@WebX.maYIadrTaRb...
> Ok, I can get the program to pause after highlighting the block's grips by
throwing in a (while (/= ""(getstring))), but I cannot do anything because
of the getstring, but it will continue after a right-click, which is getting
me closer...... Any ideas of a command that I can use to fake it so I can
use (while (eq 1 (logand 1 (getvar "cmdactive")))?..... Thanks, Robert
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost