Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

24/03/2019 Making simple and complex linetypes in AutoCAD

Home Free Tutorials All Courses Blog LOGIN


Making simple and complex linetypes in AutoCAD

Join 35K Subscrib


You will also get our Auto
Commands eBook 

Email address*

AutoCAD has its own library of linetypes which is quite


Subscribe
su cient for most of the common drawings. Still, if you
need any special kind of linetype you can make it right
inside AutoCAD without using complex methods.

Recent Blog Posts


In this article, I will explain all about AutoCAD linetypes,
following are the topics which I will discuss here.
 How to import x,y,z coordi
from excel to AutoCAD
Making linetype containing text and symbols
Making linetypes with complex shapes
 How to add material to fac
Modifying linetype le
solid in AutoCAD
Importing and exporting linetypes
 How to make custom hatc
Making Linetype with text and in AutoCAD

symbol  learn AutoCAD basics in 1

Let’s assume that we want a custom linetype containing make your rst drawing

repeating patterns of text and symbol as shown in the


 Making simple and compl
image below.
linetypes in AutoCAD


https://thesourcecad.com/custom-linetypes-autocad/ 1/18
24/03/2019 Making simple and complex linetypes in AutoCAD

Home Free Tutorials All Courses Blog LOGIN

Image 1


In this case, the arrows are used from the character map
and A letter is Mtext. Let’s start by making this linetype
pattern.

Type MTEXT and press enter, now make a box to start


writing your Mtext. To add the symbol in this Mtext box
Join 35K Subscrib
you need to select Other option from Symbol tool of Insert
You will also get our Auto
panel on the Text Editor tab as shown in the image below.
Commands eBook 

Email address*

Subscribe

Recent Blog Posts

 How to import x,y,z coordi


from excel to AutoCAD

 How to add material to fac


solid in AutoCAD

 How to make custom hatc


in AutoCAD

 learn AutoCAD basics in 1


make your rst drawing

Image 2  Making simple and compl


linetypes in AutoCAD
Now select the Arial font in the character map window
and scroll down the list of symbols till you see solid

https://thesourcecad.com/custom-linetypes-autocad/ 2/18
24/03/2019 Making simple and complex linetypes in AutoCAD

arrows. Select the left pointing arrow then click on the


Select button then click the Copy button and close the
character map.
Home Free Tutorials All Courses Blog LOGIN

Join 35K Subscrib


You will also get our Auto
Commands eBook 

Email address*

Subscribe
Image 3

Now right click in the text box and select Paste from the
contextual menu, you can also use Ctrl + V to paste the Recent Blog Posts
character. Now type A and repeat the process of adding
the left pointing arrow symbol. After adding text and  How to import x,y,z coordi
symbol make two lines of equal length as shown in the from excel to AutoCAD
image 1.
 How to add material to fac
Our segment of linetype is ready and we can convert it solid in AutoCAD
into a linetype. For this, we will use MKLTYPE express
tool.  How to make custom hatc
in AutoCAD
But before using this tool explode the text and arrow
symbol. Select the text as well as arrow symbols then  learn AutoCAD basics in 1
type X and press enter. By doing so we can convert a make your rst drawing

Mtext into simple Text or single line text. MKLTYPE


 Making simple and compl
doesn’t recognize Mtext hence we need to convert Mtext
linetypes in AutoCAD
into text using explode command before using the
command.

https://thesourcecad.com/custom-linetypes-autocad/ 3/18
24/03/2019 Making simple and complex linetypes in AutoCAD

Now type MKLTYPE and press enter, Select linetype le


window will show up. Specify a location where you want
to save this custom linetype and give it a name. In my
case, I amHome Free Tutorials
selecting desktop All Courses
as the location and namingBlog
it LOGIN

as Sample_Ltype. The linetype will be saved with .lin le


extension.

Now the command line will prompt you to specify the


name of linetype. I will use ATEXT as the name of linetype.
Press enter and it will prompt you for a description, add
the description which you want or press enter to skip this.
Join 35K Subscrib
You will also get our Auto
Image 4 Commands eBook 

Now the command line will prompt you to specify the Email address*

starting point of the line de nition. Select the leftmost


point on this linetype segment and press enter. Again Subscribe
command line will prompt you for the endpoint of the
linetype segment. Click on the rightmost point of the
linetype segment and press enter.
Recent Blog Posts
Now the command line will prompt you to select the
objects. Make a window to select the text, symbol and the  How to import x,y,z coordi
lines in the selection window and press enter. Finally, the from excel to AutoCAD
command line will prompt that the ATEXT linetype is now
 How to add material to fac
created and loaded as shown in the image below.
solid in AutoCAD

 How to make custom hatc


in AutoCAD
Image 5

 learn AutoCAD basics in 1


So, now our custom linetype is ready for use, let’s use it in
make your rst drawing
a simple drawing. I will make a circle and a rectangle as
shown in the image below and then change its linetype
 Making simple and compl
from the properties palette.
linetypes in AutoCAD


https://thesourcecad.com/custom-linetypes-autocad/ 4/18
24/03/2019 Making simple and complex linetypes in AutoCAD

Home Free Tutorials All Courses Blog LOGIN

Join 35K Subscrib


You will also get our Auto
Commands eBook 
Image 6

Email address*
After changing the linetype of the rectangle as well as the
circle this is how my drawing looked like.
Subscribe

Recent Blog Posts

 How to import x,y,z coordi


from excel to AutoCAD

 How to add material to fac


solid in AutoCAD

 How to make custom hatc


in AutoCAD

Image 7  learn AutoCAD basics in 1


make your rst drawing
Just like any normal linetype, you can change the scale of
this linetype too.  Making simple and compl
linetypes in AutoCAD
Making linetypes with complex
shapes 
https://thesourcecad.com/custom-linetypes-autocad/ 5/18
24/03/2019 Making simple and complex linetypes in AutoCAD

In this case, I will show you method of making a linetype


with complex shape containing arc as well as line as
shown in the image below.
Home Free Tutorials All Courses Blog LOGIN

Join 35K Subscrib


You will also get our Auto
Commands eBook 
Image 8
Email address*
Now, in this case, we are using arc which MKLTYPE
command won’t recognize and hence we need to convert
Subscribe
this complete linetype segment into a “shape” which
MKLTYPE command recognizes.

To make the Shape le type MKSHAPE and press enter,


Recent Blog Posts
select shape window will show up. Specify the location
where you want to save the shape le and give it a name. I
 How to import x,y,z coordi
am saving it on the desktop with name Complex_Shape.
from excel to AutoCAD
The shape will be saved with SHP extension.

 How to add material to fac


Now command line will prompt you to specify the name of
solid in AutoCAD
the Shape le. In this case, I am using CLT as the name of
the shape, after typing the name press enter.  How to make custom hatc
in AutoCAD

Image 9
 learn AutoCAD basics in 1
make your rst drawing
On the next prompt, it will prompt for a resolution value,
simply press enter to accept the default value. Now click
 Making simple and compl
on the midpoint of the left line to specify the base point
linetypes in AutoCAD
then select the complete drawing and press enter.


https://thesourcecad.com/custom-linetypes-autocad/ 6/18
24/03/2019 Making simple and complex linetypes in AutoCAD

Home Free Tutorials All Courses Blog LOGIN

Image 10
Join 35K Subscrib
The CLT Shape le is now created and it can be used for You will also get our Auto
making our linetype. Commands eBook 

Type SHAPE and press enter, command line will prompt Email address*

you to enter the name of shape which you want to insert,


type CLT and press enter again. The cursor will now have Subscribe
the shape, click on the midpoint of left line again as
marked in the red circle in the image above. This will
overlap the shape on existing geometry.
Recent Blog Posts
On the next prompts of height and rotation angle simply
press enter to accept the defaut values and exit the  How to import x,y,z coordi
command. Now we have the shape clearly overlapping the from excel to AutoCAD

existing drawing.
 How to add material to fac
To start making linetype from this shape you need to start solid in AutoCAD
with MKLTYPE command. Type MKLTYPE and press enter.
 How to make custom hatc
Now Specify a location where you want to save this
in AutoCAD
linetype and give it a name. I am using the desktop as the
location and “Complex line” as the name.
 learn AutoCAD basics in 1
make your rst drawing
Now the command line will prompt you for the name of
linetype, type CLINE, and press enter. Press enter again on
 Making simple and compl
the next prompt to skip adding any description. Now
linetypes in AutoCAD
command line will prompt you to add starting point, click
on the midpoint of the left line as shown in the red circle

https://thesourcecad.com/custom-linetypes-autocad/ 7/18
24/03/2019 Making simple and complex linetypes in AutoCAD

in the image below and second point right opposite as


shown with the green circle.

Home Free Tutorials All Courses Blog LOGIN

Join 35K Subscrib


You will also get our Auto
Image 11 Commands eBook 

Now click on the shape to select it and press enter. The Email address*
new linetype with CLINE name is now added and loaded in
the drawing. Subscribe

After applying the new linetype on a circle and a line it


looked like this on my drawing.

Recent Blog Posts

 How to import x,y,z coordi


from excel to AutoCAD

 How to add material to fac


solid in AutoCAD

 How to make custom hatc


in AutoCAD

 learn AutoCAD basics in 1


Image 12 make your rst drawing

If the steps are not clear in the article then I suggest you  Making simple and compl
check this video, it explains everything about making linetypes in AutoCAD
simple and complex linetypes.


https://thesourcecad.com/custom-linetypes-autocad/ 8/18
24/03/2019 Making simple and complex linetypes in AutoCAD

How to make custom linetypes in AutoCAD -

Home Free Tutorials All Courses Blog LOGIN

Understanding and Modifying


linetype les Join 35K Subscrib
You will also get our Auto
So far we have made linetypes using MKLTYPE express Commands eBook 
tool which generates .lin linetype le automatically. But,
you can make this .lin linetype le yourself and a single Email address*

.lin le can contain multiple linetypes too.


Subscribe
In this example, I will explain all the components of
linetype le with the help of a simple linetype which I
created using MKLTYPE command. This is the linetype
which I made. Recent Blog Posts

 How to import x,y,z coordi


from excel to AutoCAD
Image 13
 How to add material to fac
When you open the .lin le of this linetype it will look like
solid in AutoCAD
this.

 How to make custom hatc


in AutoCAD

 learn AutoCAD basics in 1


make your rst drawing

 Making simple and compl


linetypes in AutoCAD


https://thesourcecad.com/custom-linetypes-autocad/ 9/18
24/03/2019 Making simple and complex linetypes in AutoCAD

Image 14

All the characters of this le have a speci c meaning.


Let’s discuss all the components
Home Free Tutorialsof thisAll
linetype
Coursesle, they
Blog LOGIN

are marked with numbers and I am explaining these


numbers here.

1. The new linetype starts with * sign followed with the


name of linetype. In this case, the name of linetype
is ATEXT
2. This is the description of the linetype that shows up
on Linetype window, this is added after putting a Join 35K Subscrib
comma next to the linetype name. You will also get our Auto
3. The A character here indicates that the construction Commands eBook 
of linetype starts from this point.
Email address*
4. 1 here indicates the length of the dashed line, this
value can be anything and it will indicate the length
of the dash. Subscribe

5. -.25 is the gap length, any value followed by the


negative sign indicates the gap length of linetype.
6. The value inside square bracket is for the text. In
this case, A is the text in Standard text style and y=.1
Recent Blog Posts

is the offset value of text along the Y-axis (explained


 How to import x,y,z coordi
in the video) S=.2 is the scale of text.
from excel to AutoCAD
7. Again -.4 is the gap length after the text.
8. 1 again here indicates the length of dash line and
 How to add material to fac
then the whole pattern repeats itself. solid in AutoCAD

Here the length of the  rst segment is 1 then .25 gap then
 How to make custom hatc
“A” text in standard text style then a gap of 0.4 and again
in AutoCAD
segment length of 1 and then pattern repeats.

 learn AutoCAD basics in 1


make your rst drawing

Image 15  Making simple and compl


linetypes in AutoCAD
You can copy paste same set of codes inside a single .lin
le to create multiple linetypes with different text or

https://thesourcecad.com/custom-linetypes-autocad/ 10/18
24/03/2019 Making simple and complex linetypes in AutoCAD

segment lengths. One such example is this le which has


three different lientypes with slightly different types of
lientypes as shown in the image below.
Home Free Tutorials All Courses Blog LOGIN

Image 16

In the example shown above, we have three different


linetypes with ATEXT, BTEXT, and CTEXT as names of
linetypes and slightly different properties. Join 35K Subscrib
You will also get our Auto
Importing and exporting Commands eBook 

linetypes Email address*

There is no single command in AutoCAD with which you


Subscribe
can export or import linetypes. Actually, you need to use a
combination of different techniques to import linetypes of
different types from one drawing to other.

Recent Blog Posts


Importing simple linetypes

Let’s start with the most basic linetypes that contain  How to import x,y,z coordi

simple text and lines and which can be made using from excel to AutoCAD

MKLTYPE command.
 How to add material to fac

When you make the linetype using MKLTYPE command solid in AutoCAD

AutoCAD creates a .lin le which contains the data


 How to make custom hatc
required to create the linetype. To insert this linetype type
in AutoCAD
LT and press enter. Linetype manager window will open
up, click on Load button and then click on File button in
 learn AutoCAD basics in 1
the next window as shown in the image below and select
make your rst drawing
the .lin le and click OK.
 Making simple and compl
linetypes in AutoCAD


https://thesourcecad.com/custom-linetypes-autocad/ 11/18
24/03/2019 Making simple and complex linetypes in AutoCAD

Home Free Tutorials All Courses Blog LOGIN

Image 17
Join 35K Subscrib
The Load linetype window will open up with a list of You will also get our Auto
Commands eBook 
linetypes available in your selected .lin le. Select all the
linetypes that you want to load from this list and click OK.
Email address*

You will notice that the linetypes will be loaded in the


Subscribe
Linetype manager and now you can use them in your
drawing. Simply click OK to close the linetype manager.

Note: If you are getting an error like “bad de nition Recent Blog Posts
on line XX” then open the .lin le using notepad
 How to import x,y,z coordi
and check the name of text style which looks like
from excel to AutoCAD
the style name marked in the red box in the image
below.
 How to add material to fac
solid in AutoCAD

 How to make custom hatc


Image 18 in AutoCAD
If your current drawing does not contain that text
style of the same name then rst create the text  learn AutoCAD basics in 1
style with the same name and then import the make your rst drawing
linetype.
 Making simple and compl
linetypes in AutoCAD

Importing linetype containing Shape



https://thesourcecad.com/custom-linetypes-autocad/ 12/18
24/03/2019 Making simple and complex linetypes in AutoCAD

Things are little different when your linetype contains


shapes. In case of simple linetype containing text all you
need to worry about is the text style which should be
Home Free Tutorials All Courses Blog LOGIN
available in the drawing where you are importing the
linetype. But for linetype containing shapes you also need
to ensure that
 shapes are available in the drawing where

you are importing those linetypes.

To import the shapes you need to convert them into SHX


or Shape les which can be done using COMPILE
command.
Join 35K Subscrib
You need to ensure that you already have the .lin le and You will also get our Auto
the corresponding .shp le. Once you have these les, Commands eBook 
open the drawing where you want to import that linetype
Email address*
and type COMPILE and press enter. Select shape window
will open up, select the .shp le and click on Open.
Subscribe

Recent Blog Posts

 How to import x,y,z coordi


from excel to AutoCAD

 How to add material to fac


solid in AutoCAD

 How to make custom hatc


Image 19
in AutoCAD
AutoCAD will automatically create the SHX le from that
 learn AutoCAD basics in 1
.shp le in the same location where your .shp le is saved.
make your rst drawing
Now type LOAD and press enter, select the SHX le
created in the example above and click on Open.
 Making simple and compl
linetypes in AutoCAD
The shape is now loaded in the current drawing. Type
SHAPE and press enter, command line will now prompt
you to type the name of the Shape. Type CLT and press 
https://thesourcecad.com/custom-linetypes-autocad/ 13/18
24/03/2019 Making simple and complex linetypes in AutoCAD

enter (this is shape le we created in the second linetype


example above and I am using this linetype here), the
shape will now follow your cursor. Click at a point in the
Home
drawing area Free
and press Tutorials
enter All Courses
twice to accept the defaultBlog LOGIN

value.

This step of inserting shape in the drawing may seem
unnecessary but it is quite important as AutoCAD will now
recognize the shape le used in the linetype once you
insert it in the drawing. You can delete the shape le after
it is inserted once in your drawing.
Join 35K Subscrib
After adding the shape le and loading the shape in your You will also get our Auto
drawing you are all set to import the linetype le now. Commands eBook 
Type LT and press enter, select Load button then click on
Email address*
File button and load the .lin le which contains shape
de ned linetype.
Subscribe
The linetype will be added and now you can use this
linetype in your current drawing. All of these methods of
modifying .lin le and more has been explained in this
video. Recent Blog Posts

 How to import x,y,z coordi


How to make custom linetypes in AutoC…
AutoC…
from excel to AutoCAD

 How to add material to fac


solid in AutoCAD

 How to make custom hatc


in AutoCAD

 learn AutoCAD basics in 1


make your rst drawing
Conclusion
 Making simple and compl
The method of making linetypes and working with them
linetypes in AutoCAD
may not be very straightforward involving lots of different
steps still its pretty easy once you get a hang of it.

https://thesourcecad.com/custom-linetypes-autocad/ 14/18
24/03/2019 Making simple and complex linetypes in AutoCAD

I hope this article helped you in understanding the


nuances of making, modifying and importing/exporting
different type of linetypes. If you have any question
related to Home Free Tutorials
this article let me know in the All Courses
comment belowBlog LOGIN

and don’t forget to share this article.


Get access to all Courses, eBooks and


Downloads on SourceCAD

SEE DETAILS
Join 35K Subscrib
You will also get our Auto
Commands eBook 

Email address*

Liked this article? Share it    


Subscribe
now 

Recent Blog Posts


About the Author: Jaiprakash Pandey
 How to import x,y,z coordi
from excel to AutoCAD
I am a mechanical engineer and I have
worked with Design, Manufacturing and
 How to add material to fac
Training industries but now SourceCAD
solid in AutoCAD
is my full-time work and I use it to train students all
over the world. I also train corporate clients and help  How to make custom hatc
them develop the skill set of their workforce. I am in AutoCAD
Autodesk AutoCAD Certi ed Professional and an
Autodesk expert elite member. I am a regular  learn AutoCAD basics in 1

contributor of AUGI World magazine and apart from make your rst drawing

SourceCAD I also develop AutoCAD video courses


 Making simple and compl
for Pluralsight and other E-Learning businesses.
linetypes in AutoCAD


https://thesourcecad.com/custom-linetypes-autocad/ 15/18
24/03/2019 Making simple and complex linetypes in AutoCAD

13 Comments

Dezignext Technologies February 28, 2019 at 7:06 am - Reply

Home Free Tutorials All Courses Blog LOGIN


ANother great tutorial worth referencing too.


Nitin December 21, 2018 at 6:27 pm - Reply

Best,need full for everyone beginners

abed November 8, 2018 at 1:21 am - Reply

how to solve text oriantation in linetype


Join 35K Subscrib
You will also get our Auto
Commands eBook 
Felix October 7, 2018 at 1:56 pm - Reply
Email address*
thank you sir

Where can I download the AutoCAD 2016 Subscribe

kamal de silva October 4, 2018 at 10:29 am - Reply

Thank you very much. sir Recent Blog Posts

 How to import x,y,z coordi


john simon September 25, 2018 at 12:26 pm - Reply from excel to AutoCAD

Very good. I like your website.


 How to add material to fac
solid in AutoCAD
Hugh Grace September 16, 2018 at 11:39 am - Reply
 How to make custom hatc
Thank you very much. A very helpful article.
in AutoCAD

 learn AutoCAD basics in 1


Md.Anwarul islam (tuhin) September 15, 2018 at 5:46 pm -
Reply make your rst drawing

wow! it’s so helpful bro.


 Making simple and compl
tnx
linetypes in AutoCAD

Paragkumar Soni September 15, 2018 at 4:46 pm - Reply



https://thesourcecad.com/custom-linetypes-autocad/ 16/18
24/03/2019 Making simple and complex linetypes in AutoCAD

Hello,
Could you please guide me how to make GAD of
assembly.
Home Free Tutorials All Courses Blog LOGIN
Like ball valve and actuator assembly along with
pneumatic acuator

Our’s is a trading business and we assemble


valves and actuators now some clients are
asking for the generalise assembly drawing,

I can creat part drawing but not aware of


creating assembly drawing. Join 35K Subscrib
You will also get our Auto
Please guide me or advise some books Commands eBook 

Email address*
Sudhi September 15, 2018 at 10:02 am - Reply

Helpful…Thank you!!! Subscribe

Samila September 14, 2018 at 5:30 pm - Reply

Thank you very much. sir Recent Blog Posts

 How to import x,y,z coordi


The Hawk September 14, 2018 at 4:38 pm - Reply
from excel to AutoCAD
This is great!
 How to add material to fac
solid in AutoCAD
Emma September 14, 2018 at 3:09 pm - Reply

 How to make custom hatc


Really interesting article Jaiprakash – I had no
in AutoCAD
idea how creative you could be with linetypes! I
look forward to putting your tips into practice!
 learn AutoCAD basics in 1
Thanks.
make your rst drawing

 Making simple and compl


linetypes in AutoCAD

Leave A Comment

https://thesourcecad.com/custom-linetypes-autocad/ 17/18
24/03/2019 Making simple and complex linetypes in AutoCAD

Comment...

Home Free Tutorials All Courses Blog LOGIN


Name (required) Email (required) Website

Save my name, email, and website in this browser for


the next time I comment.

POST COMMENT

LEARN MORE HELP & SEARCH YOUR


About SUPPORT TOPIC
SourceCAD, B1- Blog Course FAQ &
128A Categories Support
Street 5, New Write for Testimonials Search 
Delhi SourceCAD Contributors
India – 96 Become Live Instructor
A liate Session
Blog Subscribe

© Copyright 2019 SourceCAD, All Rights Reserved. Terms &


Conditions | A liate Disclosure | Privacy Policy | Sitemap
    


https://thesourcecad.com/custom-linetypes-autocad/ 18/18

You might also like