Linetype Command Autocad For Mac

There are many linetypes which are already available in AutoCAD but you can also add your own custom linetype to AutoCAD. In this article, I will use Make shape and Make linetype express tools for creating custom AutoCAD linetypes.

Like Paper space line type scaling, Model Space Line Type Scaling only has two options. Setting MSLTSCALE to 0 (Off) is the default setting and will behave as Autocad always has. Setting MSLTSCALE To 1 (On) will cause the Line type scale of any geometry in model space to be scaled by the Annotation scale. This allows you to have a preview of. Linetype Pattern. The PLINEGEN system variable controls how linetype patterns generate around the vertices of a 2D polyline. Generates linetypes that start and end with a dash at each vertex of the polyline; 1. Generates linetypes in an uninterrupted pattern through the vertices of the polyline.

I will use the example of the shape shown in the image below for this article.

Making complex linetypes:

To start making this linetype create its single segment as shown in the image below.

Shape used for a segment of linetype

Type MKSHAPE on the command line and press enter, this will open a file browser where you can specify the location to save your shapefile (.SHP). By default name of this file will be same as your file name, don’t change its default name and specify desktop as file location and click on save.

Now AutoCAD command line will prompt you to specify the name for this shape, type LINESHAPE and press enter (you can select another name as well). Press enter again to accept the default resolution value of 128.

When you increase the shape resolution value, the shape will be created with more coordinate data. This will cause consumption of more resources of your computer making it perform slower during drawing regeneration, so try to keep it at an optimum level.

Once resolution value is selected, the command line will prompt you to select the base point. Click on the midpoint of left vertical line on the geometry and select all objects of the shape and press enter again to make the shape and exit the command.

Linetype Command Autocad For Mac Windows 10

Now our shape is ready for making a linetype. Type SHAPE on the command line and press enter to start the Insert shape command. Type the name of the shape created in the previous steps, I am typing LINESHAPE for this example and press enter.

You will notice that shape geometry will now follow your cursor, click at the midpoint of the vertical line on the left of geometry in drawing area so that the shape completely overlaps the existing geometry. Press enter twice to accept the default value of scale and rotation angle for the shape (which should be 1 and 0° respectively).

In this case, I made this shape to overlap existing geometry because while creating the linetype you won’t be able to select snap points from shape geometry and the original geometry will act as a reference.

Type MKLTYPE or select Make Linetype tool from expanded tools panel of express tools tab.

Mac

Make Linetype option in express tools

This will again prompt you to specify a location for saving the linetype file (.LIN), select desktop as the location and don’t change its default name, then click on save to exit select linetype window.

Now command line will prompt you to specify the name of this linetype, type TESTLT as its name and press enter. If you want to specify a description for this linetype then enter it now or press enter to leave this field blank.

Now command line will prompt you to specify the starting point for the linetype, click on the midpoint of the left vertical line. And click on the rightmost point of the horizontal line as its ending point as shown in the image below. Click on shape when select objects prompt appears and press enter.

Linetype

The linetype is now created with name TESTLT and it will also be loaded in the drawing. You can now apply this linetype to geometries in your drawing.

Command

If you find that scale of this line type is not appropriate then you can change its scale by changing LTSCALE system variable to appropriate value or by changing the scale of individual objects from properties palette.

When you transfer your drawing containing this custom linetype then also make sure to transfer linetype and shape file created in examples above with it.

Exporting custom linetype from the drawing:

Mac

If you have a drawing containing completely new linetype and you don’t have its linetype file then there is a VLX file courtesy of Cadstudio.cz that can make exporting linetype from your drawing a seamless task.

Linetype Command Autocad For Mac Shortcut

Download the LinOut.vlx here, File courtesy of CADStudio.cz

Once you have that file type APPLOAD on the command line and press enter. This will open Load/Unload Applications window, locate the file location from Look In dropdown menu select LinOut.vlx file and click on load button. When the file is loaded Click on the close button.

Linetype Command Autocad

Linetype Command Autocad For Mac

Download Autocad For Mac

Now type LINOUT on the command line and press enter, a new linetypes.lin file will be added to the same folder in which your current drawing is stored. This lin file will contain all custom linetypes of your current drawing.

Do you have questions related to this tip? Let me know in the comments below.

Linetype Command Autocad For Mac Windows 7

Start Free Account

Linetype Command Autocad For Mac Free

Start learning AutoCAD and Fusion 360 with video courses, eBooks and Q&A community