Author Topic: Why haven't a stop in the pause here in running?  (Read 2835 times)

0 Members and 1 Guest are viewing this topic.

2e4lite

  • Guest
Why haven't a stop in the pause here in running?
« 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
....
« Last Edit: July 08, 2014, 08:17:04 AM by 2e4lite »

Coder

  • Swamp Rat
  • Posts: 827
Re: Why haven't a stop in pause here in running?
« Reply #1 on: July 08, 2014, 08:10:21 AM »
Hi

Which part of your codes is not stopping ?

thanks

2e4lite

  • Guest
Re: Why haven't a stop in pause here in running?
« Reply #2 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.

Coder

  • Swamp Rat
  • Posts: 827
Re: Why haven't a stop in the pause here in running?
« Reply #3 on: July 08, 2014, 08:22:05 AM »
One more question  :-)

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

2e4lite

  • Guest
Re: Why haven't a stop in the pause here in running?
« Reply #4 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"

Coder

  • Swamp Rat
  • Posts: 827
Re: Why haven't a stop in the pause here in running?
« Reply #5 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 ?

2e4lite

  • Guest
Re: Why haven't a stop in the pause here in running?
« Reply #6 on: July 08, 2014, 08:41:11 AM »
Thank you all, the problem has been resolved!

Coder

  • Swamp Rat
  • Posts: 827
Re: Why haven't a stop in the pause here in running?
« Reply #7 on: July 08, 2014, 08:46:11 AM »
Thank you all, the problem has been resolved!

What was the main problem ? :-)

2e4lite

  • Guest
Re: Why haven't a stop in the pause here in running?
« Reply #8 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?
« Last Edit: July 08, 2014, 09:50:57 PM by 2e4lite »