+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27
  1. #1
    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 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,023

    Default Options for creating linetypes.

    Registered forum members do not see this ad.

    How do I create a custom linetype?
    • Directly edit AutoCAD’s acad.lin file, or a copy thereof, using any ASCII text editor such as Notepad. You can add a new definition or copy and revise an existing definition.
    • From within AutoCAD type –linetype at the command line followed by < C > for Create. Follow the prompts as they are presented. A new .lin file can be created or AutoCAD’s own acad.lin file can be appended.
    • In full AutoCAD, click on Express, then Tools and select Make Linetype. Follow the prompts as they are presented.
    • Use a LISP routine called MakeLT as featured in Cadalyst magazine, September, 2008 and written by Ron Perez. The code is available at the Cadalyst website www.cadalyst.com. Click on the tab CAD Tips. Search for the routine by name, Create Custom Linetype or by tip number 3011.
    • Buy an aftermarket complex line generating program such as AutoLINE 2009. Available at www.autodsys.com. The software was previewed in the August, 2008 issue of Cadalyst magazine.
    BTW: When new linetype definitions are added to acad.lin insert them after the heading User Defined Linetypes to ensure they will migrate successfully when upgrading to a future version of AutoCAD.

    Note that if you have a duplicate linetype definition residing in the User Defined Linetypes section of the file it will take precedence over a definition found in the beginning of the file. Consider it to be like an override.

    This link will take you directly to CAD Tips. http://cadtips.cadalyst.com/
    The link mentioned above will take you to the homepage of Cadalyst magazine. If you haven’t got this website on your Favorites list you should remedy that oversight immediately.

    Now, what are you waiting for? Go out and create some custom linetypes and have some fun in the process.

    Update 11/30/10

    Ron Perez updated his lisp routine, mentioned above, in June of 2010. The new lisp routine is named makelt2.lsp and can be downloaded from the Cadalyst website. It is Tip# 3011.
    Last edited by ReMark; 30th Nov 2010 at 12:25 pm.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  2. #2
    Super Member
    Computer Details
    Dipali's Computer Details
    Operating System:
    windows vista
    Computer:
    IBM Thinkpad lenovo
    CPU:
    Intel Centrino vPro
    Monitor:
    viewsonicVA1916w
    Discipline
    Architectural
    Dipali's Discipline Details
    Occupation
    ARCHITECTURE
    Discipline
    Architectural
    Details
    interiors
    Using
    AutoCAD 2009
    Join Date
    Dec 2007
    Location
    INDIA
    Posts
    1,058

    Default

    I have never created a custom linetype before but your tutorial motivates me to do so. so hopefully i will do it next few days
    Thanks


    PS: you crossedd it, congrates
    "An architect's most useful tools are an eraser at the drawing board & a wrecking bar at the site."
    Frank Lloyd Wright

  3. #3
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

    Default

    Here's a cool routine for making linetypes w/text 'on the fly'... compliments of D. Marker

    <edit> IIRC I edited the code to use a text style named SIMPLEX, you need to make a text style with that name or edit the code to use a text style of your choosing (e.g. STANDARD)
    Attached Files
    Last edited by lpseifert; 25th Sep 2008 at 01:11 pm.

  4. #4
    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 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,023

    Default

    Not exactly a tutorial, per se, but the thanks are appreciated Dipali.

    And I see that lpseifert has added yet another option. Thanks. That should give questioners a good place to start.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  5. #5
    Senior Member BOB'27T's Avatar
    Computer Details
    BOB'27T's Computer Details
    Computer:
    Dell Precision 690
    Monitor:
    Dual 21" Dell
    Using
    Civil 3D 2009
    Join Date
    Sep 2007
    Location
    Tavares,Florida
    Posts
    416

    Default

    Quote Originally Posted by lpseifert View Post
    Here's a cool routine for making linetypes w/text 'on the fly'... compliments of D. Marker

    <edit> IIRC I edited the code to use a text style named SIMPLEX, you need to make a text style with that name or edit the code to use a text style of your choosing (e.g. STANDARD)
    I loaded this lisp, but when I specify a name and hit enter, the command disappears. What am I missing?
    "Those Who Pay Attention Will Be Rewarded"

  6. #6
    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 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,023

    Default

    Credit for this suggestion goes to lpseifert once again.

    LinOut.lsp - Exports linetype definition (including shape and text info) from an AutoCAD drawing. File sile is 12KB. This LISP routine can be downloaded from:

    http://www.xanadu.cz/en/download.asp?file=LinOut

    A handy routine to have when a client or a subcontractor sends you a drawing with a custom linetype in it but neglects to send you the actual linetype definition file. This routine extracts that information for you.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  7. #7
    Forum Newbie
    Using
    AutoCAD 2008
    Join Date
    Dec 2010
    Posts
    5

    Default

    Hi buddies, i used the Linout but it generates an empty file... or better, it only contains this:

    ; Linetypes exported by LinOut.lsp from C:\DISCO D\P008[1].lin
    ;
    ; LINOUT by CAD Studio - www.cadstudio.cz
    ;

    but no definition :-\

  8. #8
    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 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,023

    Default

    Post a sample drawing with the linetype that you want to extract in it so someone here can test the lisp routine. Thanks.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  9. #9
    Full Member Ivan006's Avatar
    Computer Details
    Ivan006's Computer Details
    Operating System:
    Windows 7
    Discipline
    Mechanical
    Ivan006's Discipline Details
    Occupation
    CAD Operator
    Discipline
    Mechanical
    Using
    AutoCAD 2010
    Join Date
    Oct 2009
    Posts
    37

    Default

    Quote Originally Posted by lpseifert View Post
    Here's a cool routine for making linetypes w/text 'on the fly'... compliments of D. Marker

    <edit> IIRC I edited the code to use a text style named SIMPLEX, you need to make a text style with that name or edit the code to use a text style of your choosing (e.g. STANDARD)
    I'm trying out this lisp, and it's not working. I'm loading it in AutoCAD 2010, is that why it doesn't work?

  10. #10
    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 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,023

    Default

    Registered forum members do not see this ad.

    I have no idea why it won't work. I've never tested it either.

    Can you post an image showing what the linetype you are trying to create looks like?
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

Similar Threads

  1. Use all of your selection options
    By AutoCAD Tips Blog in forum AutoCAD RSS Feeds
    Replies: 0
    Last Post: 13th Aug 2008, 08:20 am
  2. Creating linetypes for use with metric and imperial mapping
    By cyclingg in forum AutoCAD Beginners' Area
    Replies: 0
    Last Post: 12th Aug 2007, 03:35 am
  3. creating complex linetypes
    By BUFF_dragon in forum AutoLISP, Visual LISP & DCL
    Replies: 8
    Last Post: 15th Jan 2007, 11:41 pm
  4. Creating custum linetypes
    By bspill1 in forum AutoCAD Beginners' Area
    Replies: 6
    Last Post: 21st Oct 2005, 12:24 am
  5. Creating Linetypes
    By martin in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 6th Feb 2004, 11:50 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