Author Topic: Rubber-band line for getpoint  (Read 1923 times)

0 Members and 1 Guest are viewing this topic.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Rubber-band line for getpoint
« on: August 13, 2015, 01:54:51 PM »

Has anyone come across the definition for the linetype and color for the Rubber-band line for getpoint function ??

Regards,
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

David Bethel

  • Swamp Rat
  • Posts: 656
Re: Rubber-band line for getpoint
« Reply #1 on: August 13, 2015, 03:44:19 PM »
I just tried on every release I have access to ( 7 in all)

All were solid light gray lines.  I think it is hard coded into ACAD.  -David
R12 Dos - A2K

ChrisCarlson

  • Guest
Re: Rubber-band line for getpoint
« Reply #2 on: August 13, 2015, 03:50:40 PM »
You could use grread and create your own temporary

Code: [Select]
(grdraw  pt data -1)
http://www.theswamp.org/index.php?topic=37972.msg429867#msg429867

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: Rubber-band line for getpoint
« Reply #3 on: August 13, 2015, 05:26:04 PM »
All were solid light gray lines.  I think it is hard coded into ACAD.  -David

FWIW, you can force a dashed line using:
Code: [Select]
(initget 32)
(getpoint "\nTesting: " '(0 0 0))

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Rubber-band line for getpoint
« Reply #4 on: August 13, 2015, 06:47:03 PM »
I've done a proxy line along with a reactor and grread, but that was more work than it was worth.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Rubber-band line for getpoint
« Reply #5 on: August 13, 2015, 08:15:03 PM »

I seem to recall it was grey or off white once.

but
2016 ( and 2015) are a dirty yellow with a hidden linetype ( about ltscale of 1)

2014 is a solid off-white line.

I draw on a black background.

Thanks for the input guys.

The aesthetics suit me ; and I have better things to do today than build a custom engine.
I've done a proxy line along with a reactor and grread, but that was more work than it was worth.
.... exactly!
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.