James Maeding
Usenet Archive
- Joined
- Jul 7, 2003
- Messages
- 331
- Reaction score
- 0
We did that pick text or type value routine a while back on this NG. Well a user asked me why it crashed on a transparent command.
try this:
(grread NIL 14 2)
note that if you pick a toolbar button, like the zoom out one, it gives back something like:
(11 3402)
So how would I allow the transparent command to run within a lisp? There is no way to detect what the toolbar button command was so I cannot mimic it in my routine. I usually put this kind of stuff in a while loop and keep looping if I dont get what I want. When I tried that, it simply ignored the zoom toolbar pick and the grread continued.
So it doesnt crash on a toolbar pick, but the button does not run, the user has to zoom or pan with the mouse wheel.
thx
James Maeding
Civil Engineer/Programmer
try this:
(grread NIL 14 2)
note that if you pick a toolbar button, like the zoom out one, it gives back something like:
(11 3402)
So how would I allow the transparent command to run within a lisp? There is no way to detect what the toolbar button command was so I cannot mimic it in my routine. I usually put this kind of stuff in a while loop and keep looping if I dont get what I want. When I tried that, it simply ignored the zoom toolbar pick and the grread continued.
So it doesnt crash on a toolbar pick, but the button does not run, the user has to zoom or pan with the mouse wheel.
thx
James Maeding
Civil Engineer/Programmer