Author Topic: I would like to create a custom distance  (Read 5608 times)

0 Members and 1 Guest are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: I would like to create a custom distance
« Reply #15 on: November 12, 2007, 11:12:03 AM »
PS.  You get extra credit if you can figure out the two mistakes I made in my first post of the routine.
 :evil:
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.

CECE_CAD

  • Guest
Re: I would like to create a custom distance
« Reply #16 on: November 12, 2007, 11:59:21 AM »
Ok, I will try that.  Thanks

CECE_CAD

  • Guest
Re: I would like to create a custom distance
« Reply #17 on: November 13, 2007, 04:25:25 PM »
ok lets see..
Thanks by the way.  I like how that works, the vlide

Code: [Select]
(grvecs (append vecs '(1)))  you changed the way the program returns the value..?  to this (grvecs (append '(1) vecs))

Then added the way the program closes with (princ).  Did you change (print) to (prompt) for consistency?


PS.  You get extra credit if you can figure out the two mistakes I made in my first post of the routine.
 :evil:
« Last Edit: November 13, 2007, 04:28:25 PM by CECE_CAD »

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: I would like to create a custom distance
« Reply #18 on: November 13, 2007, 05:23:46 PM »
Good job. 8-)

The princ keeps nil or any other value from showing up at the command line when the routine finishes.

Yes the prompt was a change too as the number was not displaying properly.

As for grvecs, I had the color '(1) in the wrong place. It was displaying white when I wanted red.

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.