Author Topic: Grdraw problem..  (Read 1665 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
Grdraw problem..
« on: November 04, 2009, 03:14:40 PM »
Hi all..

I actually making some test with grdraw..
but I don't realy know why the result is not showing good..

there is my code:
Code: [Select]
(setq p1x (getpoint "\nPoint1"))
(princ "\nPoint2")
(setq VS (* 0.03 (getvar "Viewsize")))
(while   (and
           (setq input (grread t 4 4))
   (= (car input) 5)
          )
(setq p1 p1x) 
(setq p2 (cadr input))
(redraw)

(foreach n '(7 255 4 3 5)
(grdraw (setq p1 (polar p1 1.5708 VS)) (setq p2 (polar p2 1.5708 VS)) n 1)
)
)

the problem is the that the vector with color 256 and 7 are supposed to be drawn using the default highlighting method of the display device.
Below....my result:

If someone can help..i'll be happy ! 
thanks ;-)
Keep smile...

ronjonp

  • Needs a day job
  • Posts: 7528
Re: Grdraw problem..
« Reply #1 on: November 04, 2009, 04:30:04 PM »
Works fine for me. All lines are dashed.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Grdraw problem..
« Reply #2 on: November 04, 2009, 04:48:23 PM »
All dashed here, 2000.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Sebb77

  • Guest
Re: Grdraw problem..
« Reply #3 on: November 04, 2009, 05:07:08 PM »
All dashed also...

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Grdraw problem..
« Reply #4 on: November 04, 2009, 08:10:52 PM »
Dashed fine for Civil 3D 2009.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Grdraw problem..
« Reply #5 on: November 07, 2009, 10:16:04 PM »
Thanks all...

I think that is a Graphic Card problem....
it work great on other PC.

Thanks for the beta-testing.   8-)
Keep smile...