+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Full Member CivilPrice's Avatar
    Computer Details
    CivilPrice's Computer Details
    Operating System:
    Win XP
    Computer:
    Dell
    Motherboard:
    ACPI X64
    CPU:
    Intel Xeon W3550@3.07GHz
    RAM:
    6 gig...
    Discipline
    Civil
    CivilPrice's Discipline Details
    Occupation
    Designer
    Discipline
    Civil
    Using
    AutoCAD 2014
    Join Date
    Jun 2010
    Location
    Bullhead City, AZ
    Posts
    63

    Default Align text to line

    Registered forum members do not see this ad.

    I dont remember if it is a lisp or an actual autocad command, but I am needing to aligng text to a line.

    It was a simple command, click the text, click on the line and it will align the text perfectly to the line selected.

    if anyone has the lisp or knows the command please let me know.

    Thank You!!

  2. #2
    Super Member chulse's Avatar
    Computer Details
    chulse's Computer Details
    Operating System:
    Windows 7
    Computer:
    Lenovo W701 mobile workstation
    RAM:
    12GB
    Graphics:
    NVIDIA Quadro FX 3800M
    Monitor:
    17" wide screen laptop w/ 22" acer
    Discipline
    See details...
    chulse's Discipline Details
    Occupation
    Conservation Planner/Arborist
    Discipline
    See details below.
    Details
    Tree Preservation Planning for civil design and developent
    Using
    Civil 3D 2013
    Join Date
    Jul 2007
    Location
    Front Royal, Virginia
    Posts
    1,313
    Cary Hulse
    Conservation Planner
    www.TreePreservationPlan.com
    www.Pack53.info

  3. #3
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2015
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    40,763

    Default

    You can also reorient your crosshairs using SNAPANG, type the text, then reset the crosshairs.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

    I'm now a full member of the Society for the Promotion of Mediocrity in CAD. Standards? We don't need no stinkin' standards! Take whatever advice I offer and do the opposite.

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

    Default

    Of course, if you want to use the tools that AutoCAD already has, set Polar tracking to on (you might already have it permanently set), and make sure that in the Settings, you have Polar Angle measurement 'Relative to last segment'.

    Then to align some text, I start the command Rotate, chose the text, snap to the endpoint of the line, and the text is perfectly aligned to the line.
    Attached Images

  5. #5
    Full Member CivilPrice's Avatar
    Computer Details
    CivilPrice's Computer Details
    Operating System:
    Win XP
    Computer:
    Dell
    Motherboard:
    ACPI X64
    CPU:
    Intel Xeon W3550@3.07GHz
    RAM:
    6 gig...
    Discipline
    Civil
    CivilPrice's Discipline Details
    Occupation
    Designer
    Discipline
    Civil
    Using
    AutoCAD 2014
    Join Date
    Jun 2010
    Location
    Bullhead City, AZ
    Posts
    63

    Default

    HMM. I found an old lisp routine but it only works with text. I am going to try the polor tracking. The snap angle is a good idea, but most of the text is from an existing survey and I am just trying to quickly clean it up. I dont feel like retype thousands of 6" VCP hahaha.

  6. #6
    Full Member CivilPrice's Avatar
    Computer Details
    CivilPrice's Computer Details
    Operating System:
    Win XP
    Computer:
    Dell
    Motherboard:
    ACPI X64
    CPU:
    Intel Xeon W3550@3.07GHz
    RAM:
    6 gig...
    Discipline
    Civil
    CivilPrice's Discipline Details
    Occupation
    Designer
    Discipline
    Civil
    Using
    AutoCAD 2014
    Join Date
    Jun 2010
    Location
    Bullhead City, AZ
    Posts
    63

    Default

    Lee Mac's text align looks sweet, everything loaded fine and I can invoke the command but it doesnt work? I select the text and line and nothing happens???

    the polor snap I can not get to work either. If I use the line as a base point or the insertion point of the text either way it aligns it to a different angle every time?

    bah, why is this never as easy as it looks. I just want to click on the text, click on the line and boom it lines it up perfectly haha, is that so much to ask for.

  7. #7
    Forum Deity
    Using
    AutoCAD 2002
    Join Date
    Sep 2006
    Location
    East Sussex, U.K.
    Posts
    3,577

    Default

    Quote Originally Posted by CivilPrice View Post

    the polor snap I can not get to work either.
    Try Polar Tracking, not Polar Snap

  8. #8
    Junior Member
    Using
    Civil 3D 2010
    Join Date
    Dec 2004
    Location
    Michigan
    Posts
    14

    Default

    TORIENT might work for you also. I just used it and it reminded me of this thread.

  9. #9
    Banned
    Using
    Mechanical 2007
    Join Date
    Sep 2010
    Location
    TamilNadu
    Posts
    109

    Default

    Quote Originally Posted by eldon View Post
    Of course, if you want to use the tools that AutoCAD already has, set Polar tracking to on (you might already have it permanently set), and make sure that in the Settings, you have Polar Angle measurement 'Relative to last segment'.

    Then to align some text, I start the command Rotate, chose the text, snap to the endpoint of the line, and the text is perfectly aligned to the line.
    Hai i want rotate the text as per the selected text..Already i am using lisp for this..But thats only for single single text i want to select...But i want rotate more text depending upon the single line(Multi text Selection need)...So i can easily change multi text means..Can u help me??plz

  10. #10
    Banned
    Using
    Mechanical 2007
    Join Date
    Sep 2010
    Location
    TamilNadu
    Posts
    109

    Default

    Registered forum members do not see this ad.

    Any body seen for my Change the Multi text angle as per the selected line???i am waiting for your hopeful reply...........

Similar Threads

  1. Anything (BLOCK, LINE, PLINE, TEXT, MTEXT) Align to LINE, PLINE
    By cadamrao in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 21st Jun 2010, 02:53 pm
  2. rotate text to align line
    By motee-z in forum AutoLISP, Visual LISP & DCL
    Replies: 40
    Last Post: 10th Jun 2010, 08:13 am
  3. align line end with text
    By hepcpltd in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 22nd Apr 2010, 02:57 am
  4. from ss Text, mtext & block align to a poly or line
    By gilsoto13 in forum AutoLISP, Visual LISP & DCL
    Replies: 22
    Last Post: 13th Oct 2009, 07:36 pm
  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

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