Results 1 to 5 of 5

Thread: Line Highlight

  1. #1
    Active Member spencer.67965's Avatar
    Join Date
    2004-05
    Posts
    76

    Question Line Highlight

    Hi all,

    Don't know if this is possible. If anyone has any thoughts on the matter please let me know.

    While running a VBA Program I want to have a line highlight (or change props) when my cursor is over it and revert back to a continuous line when the cursor is not on the line. See Picture below.

    After picking one of the four lines I will then erase the other three lines giving me the following. See Picture below.
    Thanks in advance for your help,
    Spencer
    ______________________
    AutoCAD 2005

  2. #2
    All AUGI, all the time
    Join Date
    2003-10
    Posts
    688

    Question Re: Line Highlight

    How is highlighting the first line linked to erasing the other three lines? Is the highlighted line the one you're telling VBA to keep? In that case, are the other three lines added to a selection set at any other time?

  3. #3
    Active Member spencer.67965's Avatar
    Join Date
    2004-05
    Posts
    76

    Default Re: Line Highlight

    Yes the highlighted line is the one I will keep; the other three lines will then be removed from the selection set. More than anything highlighting the lines with the cursor over will indicate to the user that that particular line can be selected. When one of the four lines is selected by a mouse click I will keep the selected line and delete the other three lines, or at least this is the plan. I am open to any suggestions.



    Thanks,



    Spencer

  4. #4
    All AUGI, all the time
    Join Date
    2003-10
    Posts
    688

    Smile Re: Line Highlight

    Are you using the "highlighting" method as a selection method whereas the user doesn't have to actually select the object or are you trying to just highlight an object as the cursor moves over it? If selecting, why wouldn't another selection set be the alternative where the selected objects being added are already highlighted? I guess I'm trying to figure out what the intent of the cursor highlight is to get a better feel for what you're trying to do.

  5. #5
    Active Member spencer.67965's Avatar
    Join Date
    2004-05
    Posts
    76

    Default Re: Line Highlight

    First off thanks for taking the time to entertain my question.

    Here is the a brief description of the project I am working on so you have an idea of what I am trying to accomplish. I work for a structural engineer, we mainly do light frame resdential construction. I make the structural mark changes for the designers/architects who supply us with the Cad files. I have found it taking too much time noting the post callouts.
    Here is an example of what I we usually do for post callouts.

    However I often change the direction depending on readability; therfore, I want to be able to choose the direction of the call out in realtime.

    Are you trying to just highlight an object as the cursor moves over it? YES (This will help the user identify the correct callout direction.)

    I will select the line manually which will in turn place the text in the correct orientation and erase the other three lines.

    Hope this helped.

    Spencer



Similar Threads

  1. Object Highlight
    By Batman in forum AutoCAD General
    Replies: 6
    Last Post: 2008-12-17, 02:38 PM
  2. Highlight
    By wpeacock in forum VBA/COM Interop
    Replies: 4
    Last Post: 2007-11-22, 06:22 AM
  3. autocad 14 highlight will not "highlight"
    By ronwater.72872 in forum AutoCAD General
    Replies: 5
    Last Post: 2004-08-09, 02:45 PM

Posting Permissions

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