Page 1 of 1

GRDRAW in Icad 7

Posted: Tue Sep 13, 2011 4:40 pm
by MROCK
I have a Lisp using the GRDRAW to show lines when the user moves the cursor. Every time the mouse moves, the lisp calls REDRAW to clean the old lines before drawing the lines for the new position. In Icad 7 this does not longer work, the lines drawn with GRDRAW remain on screen.
Any idea for a quick work-around, without changing too much of my code?

Posted: Wed Sep 14, 2011 2:54 am
by JCAMPOS
Hi,

Use (grclear) to clear the lines created by the GRDRAW function.

Regards,
JCAMPOS

Posted: Wed Sep 14, 2011 4:46 pm
by MROCK
Great, thanks a lot. I discovered grdraw and grread recently, and just when I liked it I found this problem. Now I have grclear to solve my problem!

I searched a little more and found also grtext and grvecs. A pitty that there is no documention in the icad help.

Michael

Re: GRDRAW in Icad 7

Posted: Thu Mar 08, 2012 1:20 am
by d2010
MROCK wrote:I have a Lisp using the GRDRAW to show lines when the user moves the cursor.
You Use the instruction (redraw) and you clear the grdraw-screen.

Sir.. Here You make SUPER-GRDRAW
You see the youtube movies
http://www.youtube.com/watch?v=91_DFjN6ucs

You convert SLd file to Super-Grdraw
HomePage........ is the forum lisp2arx forum 3x

http://www.puiubrat.3x.ro/adve2011/netilisq.html