GRDRAW in Icad 7

Topics relating to AutoLisp and SDS.

Moderators: CMS Inc, avaernes

Post Reply
MROCK
Valued Contributor
Posts: 45
Joined: Mon Oct 09, 2000 11:01 pm
Location: Rio de Janeiro, RJ, Brazil
Contact:

GRDRAW in Icad 7

Post by MROCK » Tue Sep 13, 2011 4:40 pm

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?
JCAMPOS

Post by JCAMPOS » Wed Sep 14, 2011 2:54 am

Hi,

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

Regards,
JCAMPOS
MROCK
Valued Contributor
Posts: 45
Joined: Mon Oct 09, 2000 11:01 pm
Location: Rio de Janeiro, RJ, Brazil
Contact:

Post by MROCK » Wed Sep 14, 2011 4:46 pm

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
d2010
Newbie
Posts: 5
Joined: Sat Jan 07, 2012 5:24 pm

Re: GRDRAW in Icad 7

Post by d2010 » Thu Mar 08, 2012 1:20 am

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
Post Reply