Results 1 to 2 of 2

Thread: Changing cross-hair colors when snap is off/on

  1. #1
    Member
    Join Date
    2007-02
    Posts
    2

    Question Changing cross-hair colors when snap is off/on

    Newbie post-er here. Thought I'd throw out an interesting problem. We run a 3rd party program here that sits on top of AutoCAD (similar to Bentley AutoPLANT). In this program, it is very important that SNAP is turned on at all times. However, for whatever strange reason, this 3rd party program will occasionaly turn SNAP off for key functions and not turn it back on (won't call it a bug...more of an inconsistency). I

    know one solution is to write some DIESEL code to highlight that the snap is on or off (I.e. one time prompt, some words down at the bottom) but I don't think this is enough. I was thinking something like changing the cross-hairs to be a different colour depending on if the snap is on or off (crosshairs are nice and big as they are set to 100 in this program).

    So that is my question. How would I create an event or something would would auto-change the colour of the cross-hairs depending on whether SNAP is turned off or on.

    Any help is much obliged. P.S. I'm more compfortable with VB then I am with lisp although others in my office could help me out if lisp is the only solution.

  2. #2
    Forum Manager, Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    4,776

    Default Re: Changing cross-hair colors when snap is off/on

    You could write a handler for the SysVarChanged event and watch the value of SNAPMODE.
    C:> ED WORKING....

Similar Threads

  1. Aperture Size of Cross Hair
    By Jack Cheong in forum AutoCAD General
    Replies: 6
    Last Post: 2008-07-31, 03:20 PM
  2. Cross hair freezes when selecting dimensions
    By Fredrik H in forum ACA General
    Replies: 4
    Last Post: 2007-02-06, 07:20 PM
  3. Whats your cross hair size?
    By H'Angus in forum AutoCAD General
    Replies: 70
    Last Post: 2006-07-26, 07:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •