+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Senior Member MillerMG's Avatar
    Computer Details
    MillerMG's Computer Details
    Operating System:
    Windows 7
    Computer:
    OPTIPLEX 3020
    CPU:
    Intel(R) Core(TM) i5-4570 CPU @ 3.30GHz
    RAM:
    8.0 GB
    Monitor:
    The two in front of me. Dude, I got Dell's
    Discipline
    Civil
    MillerMG's Discipline Details
    Occupation
    CADD Drafter
    Discipline
    Civil
    Using
    Civil 3D 2017
    Join Date
    May 2014
    Location
    Fredericksburg, VA
    Posts
    436

    Default Align text to a line

    Registered forum members do not see this ad.

    Is there a command or a LISP (I have checked out LEE's but to no avail from what I found) that I can run say that will allow me to select text and then select a line and it be parallel with it? I know the command TEXT ALIGN but this doens't do what I am looking for, that, or I just don't know how to properly run the command? Any who, as always, thank you for any and all input.

    Miller

  2. #2
    Forum Deity rkent's Avatar
    Computer Details
    rkent's Computer Details
    Operating System:
    WIN7 PRO 64bit
    Computer:
    Dell OptiPlex 7020
    CPU:
    i7 4790 3.6GHz
    RAM:
    16GB, 1600MHz, DDR3 non-ECC 2x8GB
    Graphics:
    AMD Radeon 2GB
    Primary Storage:
    Samsung 480Gb SSD
    Monitor:
    Dell 24" FS (2x)
    Discipline
    Mechanical
    rkent's Discipline Details
    Occupation
    Facilities Design - Semi-conductor manufacturing
    Discipline
    Mechanical
    Details
    Designer: Process Piping, P&ID's, Machine Part Design, Planning / General Arrangement. Facilities Management. Drafting: Electrical, Controls, Architectural.
    Using
    Mechanical 2017
    Join Date
    Nov 2007
    Location
    Lat:35, Long:-106, Elev: 5164'
    Posts
    4,574

    Default

    This will work for your needs.

    http://www.lee-mac.com/curvealignedtext.html

    Scroll down and watch the demonstration on that page.
    Sometimes there's a man... I won't say a hero, 'cause, what's a hero? But sometimes, there's a man. And I'm talkin' about the Dude here. Sometimes, there's a man, well, he's the man for his time and place. He fits right in there. And that's the Dude, in Los Angeles. - The Stranger, The Big Lebowski

  3. #3
    Senior Member MillerMG's Avatar
    Computer Details
    MillerMG's Computer Details
    Operating System:
    Windows 7
    Computer:
    OPTIPLEX 3020
    CPU:
    Intel(R) Core(TM) i5-4570 CPU @ 3.30GHz
    RAM:
    8.0 GB
    Monitor:
    The two in front of me. Dude, I got Dell's
    Discipline
    Civil
    MillerMG's Discipline Details
    Occupation
    CADD Drafter
    Discipline
    Civil
    Using
    Civil 3D 2017
    Join Date
    May 2014
    Location
    Fredericksburg, VA
    Posts
    436

    Default

    BOOM! Dang it! I had a feeling that he had something somewhere that I did not see. Thank you VERY much rkent! Kudos, Kudos!!

  4. #4
    Forum Deity rkent's Avatar
    Computer Details
    rkent's Computer Details
    Operating System:
    WIN7 PRO 64bit
    Computer:
    Dell OptiPlex 7020
    CPU:
    i7 4790 3.6GHz
    RAM:
    16GB, 1600MHz, DDR3 non-ECC 2x8GB
    Graphics:
    AMD Radeon 2GB
    Primary Storage:
    Samsung 480Gb SSD
    Monitor:
    Dell 24" FS (2x)
    Discipline
    Mechanical
    rkent's Discipline Details
    Occupation
    Facilities Design - Semi-conductor manufacturing
    Discipline
    Mechanical
    Details
    Designer: Process Piping, P&ID's, Machine Part Design, Planning / General Arrangement. Facilities Management. Drafting: Electrical, Controls, Architectural.
    Using
    Mechanical 2017
    Join Date
    Nov 2007
    Location
    Lat:35, Long:-106, Elev: 5164'
    Posts
    4,574

    Default

    We are lucky to have such a talented and generous programmer among us.
    Sometimes there's a man... I won't say a hero, 'cause, what's a hero? But sometimes, there's a man. And I'm talkin' about the Dude here. Sometimes, there's a man, well, he's the man for his time and place. He fits right in there. And that's the Dude, in Los Angeles. - The Stranger, The Big Lebowski

  5. #5
    Senior Member MillerMG's Avatar
    Computer Details
    MillerMG's Computer Details
    Operating System:
    Windows 7
    Computer:
    OPTIPLEX 3020
    CPU:
    Intel(R) Core(TM) i5-4570 CPU @ 3.30GHz
    RAM:
    8.0 GB
    Monitor:
    The two in front of me. Dude, I got Dell's
    Discipline
    Civil
    MillerMG's Discipline Details
    Occupation
    CADD Drafter
    Discipline
    Civil
    Using
    Civil 3D 2017
    Join Date
    May 2014
    Location
    Fredericksburg, VA
    Posts
    436

    Default

    I couldn't agree more. Even more kudos to Mr. Lee!!

  6. #6
    Forum Deity
    Using
    AutoCAD 2002
    Join Date
    Sep 2006
    Location
    East Sussex, U.K.
    Posts
    4,041

    Default

    Of course, if you do not want to use lisp, you can use the command Rotate.

    With Polar tracking on and set to Relative to last segment, you start the command Rotate, pick the text, and using Osnap (Nearest will do nicely) click on your chosen line. The text immediately swings to parallel the line (or perpendicular to the line, or at any angle set up in Polar Tracking). Very quick.

  7. #7
    Senior Member MillerMG's Avatar
    Computer Details
    MillerMG's Computer Details
    Operating System:
    Windows 7
    Computer:
    OPTIPLEX 3020
    CPU:
    Intel(R) Core(TM) i5-4570 CPU @ 3.30GHz
    RAM:
    8.0 GB
    Monitor:
    The two in front of me. Dude, I got Dell's
    Discipline
    Civil
    MillerMG's Discipline Details
    Occupation
    CADD Drafter
    Discipline
    Civil
    Using
    Civil 3D 2017
    Join Date
    May 2014
    Location
    Fredericksburg, VA
    Posts
    436

    Default

    Very useful as well as insightful. Thank you very much Eldon!

  8. #8
    Luminous Being
    Using
    Civil 3D 2016
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    9,732

    Default

    My $0.05

    Code:
    ; text to 2 pts
    ; by Alan 2013
    (defun C:T2pts ( / pt1 pt2 ang tobj vlobj)
    (SETQ PT1 (GETPOINT "\nPick 1st pt" ))
    (SETQ PT2 (GETPOINT "\nPick 2nd pt" ))
    (setq ang (angle pt1 pt2))
    (SETQ TOBJ (ENTSEL "\nPick Text"))
    (setq vlobj (vlax-ename->vla-object (car tobj)))
    (vlax-put-property vlobj "Rotation" ang)
    )
    A man who never made mistakes never made anything

  9. #9
    Senior Member
    Using
    AutoCAD 2016
    Join Date
    Jan 2012
    Posts
    157

    Default

    You can also use the command Torient

  10. #10
    Senior Member MillerMG's Avatar
    Computer Details
    MillerMG's Computer Details
    Operating System:
    Windows 7
    Computer:
    OPTIPLEX 3020
    CPU:
    Intel(R) Core(TM) i5-4570 CPU @ 3.30GHz
    RAM:
    8.0 GB
    Monitor:
    The two in front of me. Dude, I got Dell's
    Discipline
    Civil
    MillerMG's Discipline Details
    Occupation
    CADD Drafter
    Discipline
    Civil
    Using
    Civil 3D 2017
    Join Date
    May 2014
    Location
    Fredericksburg, VA
    Posts
    436

    Default

    Registered forum members do not see this ad.

    never heard of her

Similar Threads

  1. System variable to set dim text align to dim line
    By wimal in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 9th Oct 2014, 05:43 pm
  2. Align text to line
    By CivilPrice in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 9
    Last Post: 13th Oct 2010, 05:23 pm
  3. rotate text to align line
    By motee-z in forum AutoLISP, Visual LISP & DCL
    Replies: 40
    Last Post: 10th Jun 2010, 08:13 am
  4. align line end with text
    By hepcpltd in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 22nd Apr 2010, 02:57 am
  5. is it possible to align single line text?
    By MRAKA in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 13
    Last Post: 26th Feb 2009, 09:35 am

Tags for this Thread

Bookmarks

Posting Permissions

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