TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: 2e4lite on July 08, 2014, 07:21:38 AM

Title: Why haven't a stop in the pause here in running?
Post by: 2e4lite on July 08, 2014, 07:21:38 AM
   When running here :(COMMAND "CIRCLE" "3P" "TAN" PAUSE "TAN" PAUSE "TAN" PAUSE), the pause have stops  for user.

   but why haven't a stop in the pause here to following in running:
...
(defun w  (/ ss1 ang pt)
    (setq ang (nth 2 (assoc rr LS1)))
    (command "rotate"  (ssget) "" pause  ang));pause
....
Title: Re: Why haven't a stop in pause here in running?
Post by: Coder on July 08, 2014, 08:10:21 AM
Hi

Which part of your codes is not stopping ?

thanks
Title: Re: Why haven't a stop in pause here in running?
Post by: 2e4lite on July 08, 2014, 08:15:23 AM
Hi

Which part of your codes is not stopping ?

thanks

This: (command "rotate"  (ssget) "" pause  ang))
It runs to Back directly,not have a pause,So the error will occur.
Title: Re: Why haven't a stop in the pause here in running?
Post by: Coder on July 08, 2014, 08:22:05 AM
One more question  :-)

What is the value of this ?  (setq ang (nth 2 (assoc rr LS1)))
Title: Re: Why haven't a stop in the pause here in running?
Post by: 2e4lite on July 08, 2014, 08:28:36 AM
One more question  :-)

What is the value of this ?  (setq ang (nth 2 (assoc rr LS1)))

It is "45"
Title: Re: Why haven't a stop in the pause here in running?
Post by: Coder on July 08, 2014, 08:30:42 AM
One more question  :-)

What is the value of this ?  (setq ang (nth 2 (assoc rr LS1)))

It is "45"

It works with me and it stops after specifying the base point .
Do you have any other codes in the same routine ?
Title: Re: Why haven't a stop in the pause here in running?
Post by: 2e4lite on July 08, 2014, 08:41:11 AM
Thank you all, the problem has been resolved!
Title: Re: Why haven't a stop in the pause here in running?
Post by: Coder on July 08, 2014, 08:46:11 AM
Thank you all, the problem has been resolved!

What was the main problem ? :-)
Title: Re: Why haven't a stop in the pause here in running?
Post by: 2e4lite on July 08, 2014, 09:44:45 PM
Thank you all, the problem has been resolved!

What was the main problem ? :-)

Because the pause is in  the statistical results of IDE. I often copy it directly ,not delete it , to the brackets.

Do you have a better way?