See the top rated post in this thread. Click here

Results 1 to 8 of 8

Thread: LINE TYPE Question

  1. #1
    Member
    Join Date
    2017-01
    Posts
    4
    Login to Give a bone
    0

    Default LINE TYPE Question

    I have this line type copied in from another drawing and it is not loaded into the library.
    AutoCAD 2017 LT

    1. How do I save it out and add it to the existing files?
    2. How can I duplicate it to be modified to say 3HR?

    Thank you in advance.

    2HR Line Type.JPG

  2. #2
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Iron Station, NC
    Posts
    3,198
    Login to Give a bone
    0

    Default Re: LINE TYPE Question

    It doesnt look like LT has an easy way to export a linetype, as you cant use a lisp program to export it
    That being said, if LT has the Design Center (keyboard command ADC) you can use it to import it into new drawings.
    if you want to be able to modify it, you'll have to get it out of the drawing first. if you can post the drawing, someone with full AutoCAD could use some of the lisp here: http://forums.augi.com/showthread.ph...pe-definitions or elsewhere to grab the definition for you, which then could be modified.
    I dont have LT so I'm not sure what all is available as an option, other than LISP will not work.

  3. #3
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    1

    Default Re: LINE TYPE Question

    Quote Originally Posted by Scott15851 View Post
    I have this line type copied in from another drawing and it is not loaded into the library.
    AutoCAD 2017 LT

    1. How do I save it out and add it to the existing files?
    2. How can I duplicate it to be modified to say 3HR?

    Thank you in advance.

    2HR Line Type.JPG
    1. Easiest way, copy and paste an entity with this linetype into other drawings. Including templates if you want it in your template drawing(s).

    2. It's possible to do with programming (you don't have this option) in full AutoCAD, but you'll need the original definition in the .LIN file. Then, presuming the "2HR" is a text string (and not a shape), then it's as easy as editing text.
    If you do not have the definition, upload a DWG containing this linetype and I'll do it (or maybe someone else will too...?) for you.
    R.K. McSwain | CAD Panacea |

  4. #4
    Member
    Join Date
    2017-01
    Posts
    4
    Login to Give a bone
    0

    Default Re: LINE TYPE Question

    Attached is a dwg file with the line type. If anyone is bored and can make it a 3HR format for me. and save the LIN file back out so I can use it in other drawings.
    Attached Files Attached Files

  5. #5
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Default Re: LINE TYPE Question

    Here you go. Edit as required.

    Code:
    ;;
    ;; New LineType descriptions extracted
    ;; from existing drawing(s) by TO-LIN.LSP.
    ;;
    ;; TO-LIN.LSP (c) 2000 Tee Square Graphics
    ;;
    
    *2HR,
    A,0.14,-0.06,0.14,-0.06,0.03,-0.06
    
    *TWO_HOUR,two hour ----2HR----2HR----2HR----2HR----2HR---
    A,0.5,-0.2,["2HR",Standard,s=0.1,r=0,x=-0.1,y=-0.05],-0.25
    R.K. McSwain | CAD Panacea |

  6. #6
    Member
    Join Date
    2017-01
    Posts
    4
    Login to Give a bone
    0

    Default Re: LINE TYPE Question

    How do I get that into my drawing?


    Quote Originally Posted by rkmcswain View Post
    Here you go. Edit as required.

    Code:
    ;;
    ;; New LineType descriptions extracted
    ;; from existing drawing(s) by TO-LIN.LSP.
    ;;
    ;; TO-LIN.LSP (c) 2000 Tee Square Graphics
    ;;
    
    *2HR,
    A,0.14,-0.06,0.14,-0.06,0.03,-0.06
    
    *TWO_HOUR,two hour ----2HR----2HR----2HR----2HR----2HR---
    A,0.5,-0.2,["2HR",Standard,s=0.1,r=0,x=-0.1,y=-0.05],-0.25

  7. #7
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Default Re: LINE TYPE Question

    Open Notepad.
    Copy in that text.
    Save the file with a .LIN file extension (make sure you have file extensions visible in Explorer).
    In AutoCAD LT, run the LINETYPE command, and load this file.
    R.K. McSwain | CAD Panacea |

  8. #8
    Member
    Join Date
    2017-01
    Posts
    4
    Login to Give a bone
    0

    Default Re: LINE TYPE Question

    Awesome thank you. I could never figure out how to save the .LIN... never hit me to just type in.

Similar Threads

  1. 2010: making all line segmentsof same line type show as one line segment
    By Darren Allen in forum AutoCAD LT - General
    Replies: 5
    Last Post: 2015-09-02, 10:35 PM
  2. Type Line Length When Sketching Line
    By inventor.wishlist1738 in forum Inventor Wish List
    Replies: 2
    Last Post: 2012-11-07, 04:56 AM
  3. Line Type Shape of Line Segments
    By sjsl in forum Revit Architecture - General
    Replies: 1
    Last Post: 2010-06-11, 03:56 PM
  4. Stupid Line Type question from Stupid person, Sorry...
    By awarren in forum AutoCAD General
    Replies: 5
    Last Post: 2004-12-10, 12:16 PM
  5. Question about "Line Type" ... Please Help
    By Richard McCarthy in forum Revit Architecture - General
    Replies: 2
    Last Post: 2004-11-01, 12: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
  •