How to work with linetypes

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.

GstarCAD Blog

www.gstarcad.net

Related Posts

GstarCAD 2026 DWG Comparison: Boost Design Efficiency

GstarCAD 2026 has introduced a new DWG Compare tool designed to eliminate the manual effort of identifying revisions between drawing versions. By using the COMPARE command, the software automatically highlights additions in red, deletions in green, and identical elements in gray using revision clouds. This feature streamlines the proofreading process for architects and engineers, allowing for instant visual verification of changes across any DWG file.

How to Calculate CAD Area Quickly?

As a CAD designer, are you frustrated by the cumbersome and error-prone manual CAD area calculation? GstarCAD offers multiple efficient CAD area calculation methods!

Leave a Reply

Don't Miss out

Gstarsoft Showcases Integrated CAD + BIM Solutions at BIM World Paris 2026

  • April 3, 2026
Gstarsoft Showcases Integrated CAD + BIM Solutions at BIM World Paris 2026

Boost CAD Productivity with GstarCAD 2026’s XTP Import Feature

  • March 24, 2026
Boost CAD Productivity with GstarCAD 2026’s XTP Import Feature

Case study: How TopenTech Optimized Equipment Diagnostics and Field Productivity with GstarCAD

  • March 9, 2026
Case study: How TopenTech Optimized Equipment Diagnostics and Field Productivity with GstarCAD

The Ultimate Guide to GstarCAD Mechanical 2026: The Future of Manufacturing Design

  • January 30, 2026
The Ultimate Guide to GstarCAD Mechanical 2026: The Future of Manufacturing Design

GstarCAD 2026 DWG Comparison: Boost Design Efficiency

  • January 16, 2026
GstarCAD 2026 DWG Comparison: Boost Design Efficiency

How to Calculate CAD Area Quickly?

  • December 25, 2025
How to Calculate CAD Area Quickly?

Discover more from Gstarsoft's Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading