Mkltype command in CAD – create linetype (electricity and water lines…)
Advertisements
1. Create the simple linetypes.
Step 1: Draw the line you want. Please note that simple linetype is only created from line and character. For example as below picture (only draw black stroke):

Step 2: Command: mkltype
Command: MKSHAPE
- Initializing… : Choose name of file .SHX not name of shape
- Enter the name of the shape: VDShape : Name for shape
- Enter resolution <128>: Enter to choose default system
- Specify insertion base point: choose point to insert (choose circle center above)
- Select objects: 1 found : choose circle above
- Select objects: Enter to finish choice
- Determining geometry extents…Done.
- Building coord lists…Done.
- Formating coords…-Done.
- Writing new shape…Done.
- Compiling shape/font description file
- Compilation successful. Output file F:\Program Files (x86)\AutoCAD
- 2007\Drawing1.shx contains 161 bytes.
- Shape “VDSHAPE” created.
- Use the SHAPE command to place shapes in your drawing.
- Therefore we create a shape of cirle
Step 3: type command LineType (shortcut command LT) to see the result as below picture:

2. Create the complex linetypes.
Complex linetype is the linetype including shapes.
Step 1: Draw the object to create shape. For example: draw a cirle as below picture.
Step 2: Create Shape
Command: MKSHAPE
- Initializing… : Choose name of file .SHX not name of shape
- Enter the name of the shape: VDShape : Name for shape
- Enter resolution <128>: Enter to choose default system
- Specify insertion base point: choose point to insert (choose circle center above)
- Select objects: 1 found : choose circle above
- Select objects: Enter to finish choice
- Determining geometry extents…Done.
- Building coord lists…Done.
- Formating coords…-Done.
- Writing new shape…Done.
- Compiling shape/font description file
- Compilation successful. Output file F:\Program Files (x86)\AutoCAD
- 2007\Drawing1.shx contains 161 bytes.
- Shape “VDSHAPE” created.
- Use the SHAPE command to place shapes in your drawing.
- Therefore we create a shape of cirle
Step 3: Insert shape to create linetype
- Next, we use Shape command to insert Shape defined above in a suitable poition to get the below picture.
- Command: shape
– Enter shape name or [?]: vdshape : type name of shape created at above step (name is vdshape)
– At Specify insertion point: Click at the point to insert
– Specify rotation angle <0>: Enter

Step 4: Do again Step 2 and 3 in Section 1 with above linetype.

Good luck!
Thanks for reading!!!
You can see more useful writings about CAD… here
Advertisements