A linetype is a repeating pattern of dashes, dots, and blank spaces displayed in a line or a curve.
You can assign linetypes to objects by layer, or by specifying the linetype explicitly. And also, you can specify its scale, load more linetypes into the program from a linetype library file, and create your own custom linetypes.
By default, every drawing has at least three linetypes: CONTINUOUS, BYLAYER, and BYBLOCK. You cannot rename or delete these linetypes.
Remark: You should not confuse these linetypes with the hardware linetypes provided by some plotters. Both linetypes of dashes produce the similar effects. However, if you use both linetypes at the same time, the results can be unpredictable.
How to load linetypes
GstarCAD includes the linetype definition files gcad.lin and gcadiso.lin. If you select gcadiso.lin, you can use ISO pen-width option when you plot.If you want to know what linetypes are already available, you can display a list of linetypes that are loaded in the drawing or stored in an LIN (linetype definition) file. Both linetype definition files contain several complex linetypes.

How to change the linetype of an object
You can change the linetype of an object by changing the linetype of the layer the object is on, reassigning the object to another layer, or by specifying a linetype for the object directly.

How to set the current linetype
By default, all objects are created using the current linetype, which is displayed in the Linetype Control on the Properties toolbar. To modify this current linetype, you can select a linetype and make it current in the Linetype Manager dialog box. If the current linetype is BYLAYER, objects are created using the linetype assigned to the current layer.
If the current linetype is BYBLOCK, objects are created using CONTINOUS linetype until they are grouped into a block. When you insert the block, it acquires the current linetype setting.
To make the linetype current:
Select a linetype from the Linetype Control pull-down list on the Properties toolbar, which is set to the current linetype.

How to control linetype scale
You can set global or individual scales for objects to control the display of linetypes. The Global Scale Factor and Current Object Scale are displayed in the Linetype Manager. The Global Scale Factor value is stored in the system variable LTSCALE, which changes the linetype scale globally for new and existing objects.
The Current Object Scale is stored in the system variable CELTSCALE, which specifies the linetype scale for new objects. In a layout, you can use system variable PSLTSCALE to adjust the linetype scale in different viewports.
Remark: Setting the linetype scale too large or too small may result in a line pattern looking like a solid line, depending on what the scale view is or at what scale the drawing is printed.
To set the current individual linetype scale: Format > Linetype
Command line> LINETYPE
-Choose Format > Linetype-Click the Show Details button.-In the Current Object Scale field, type the linetype scale that you want to make current.-Click OK.
To change the global linetype scale: -Choose Format > Linetype-Click the Show Details button.-In the Global Scale Factor field, type the global linetype scale that you want to change. Then click OK button.






