Author Topic: dim...cmdactive ?  (Read 9038 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: dim...cmdactive ?
« Reply #15 on: March 16, 2006, 02:44:30 PM »
You can see nearly univeral error catcher at http://www.arcada.com.ua/forum/viewtopic.php?t=445 (but the resource is russian).
And at your code try this:
Code: [Select]
(defun ytty ()
  (setq _cecolor_ (getvar "cecolor"))
  (setvar "cecolor" 1)
  (command "_.dim")
  (while (/= (logand (getvar "cmdactive") 31) 0)
    (command pause)
    ) ;_ end of while
  (setvar "cecolor" _cecolor_)
  ) ;_ end of defun

sorry..but this code not workin..

need to set :
Code: [Select]
(setvar "cecolor" "1")
in the first step..

and second...the result you have backslah for text.

 :oops:
Keep smile...

Joel Roderick

  • Guest
Re: dim...cmdactive ?
« Reply #16 on: March 16, 2006, 02:50:26 PM »
Luis,
You speak Spanish and Russian?

My wife and I just spent 3 weeks in Russia (adopting 2 children).  My Russian is still pretty weak, but I can at least communicate with my daughter (5).


Quote
You can see:
http://www.autocad.ru/cgi-bin/f1/board.cgi?p=024

Спасибо

[ Я буду пробовать изучить ваш язык в будущем ]

Alexander Rivilis

  • Bull Frog
  • Posts: 214
  • Programmer from Kyiv (Ukraine)
Re: dim...cmdactive ?
« Reply #17 on: March 17, 2006, 02:02:56 PM »
What about checking value of CMDNAMES system variebles?
Code: [Select]
(if (wcmatch (getvar "CMDNAMES") "DIM*")  (progn
;; do something
))

LE

  • Guest
Re: dim...cmdactive ?
« Reply #18 on: March 17, 2006, 03:39:06 PM »
Luis,
You speak Spanish and Russian?

My wife and I just spent 3 weeks in Russia (adopting 2 children).  My Russian is still pretty weak, but I can at least communicate with my daughter (5).


I wish.... no Joel I don't

. . .

CONGRATULATIONS with your two kids!!!!!  :kewl:
« Last Edit: March 18, 2006, 08:52:48 PM by LE »