Tips & Tricks

Control Printed Lineweights: CTB vs STB and How to Set Them Up

Learn how CTB and STB plot styles control printed lineweights in GstarCAD and how to create, edit, assign and use them correctly.

Level
Intermediate
Best for
Consistent office printing and lineweight standards

Lineweights are one of the most important parts of a readable technical drawing. Walls, outlines, dimensions, hatches and construction lines should not all print with the same visual weight. In GstarCAD, one of the most efficient ways to control the final printed result is with plot style tables. Depending on the drawing, these are either colour-dependent CTB files or named STB files. Once configured correctly, the same plot style can be reused across layouts and projects to maintain a consistent office printing standard.

What is the difference between CTB and STB?

Both systems control how objects appear when plotted, but they decide which plot style to use in different ways.

SystemHow styles are assignedTypical workflow
CTBBased on object colourEach indexed CAD colour is assigned a print colour, lineweight and other output properties
STBBased on named plot stylesObjects or layers are assigned styles such as Thin, Medium or Heavy

With a CTB workflow, colour becomes part of the plotting standard. For example, colour 1 may print at 0.18 mm, colour 3 at 0.35 mm and colour 7 at 0.50 mm.

With STB, the plotting behaviour does not have to depend on the object’s colour. Instead, you can create named styles and assign them according to the purpose of the object or layer.

How do you edit CTB or STB lineweights?

Use STYLESMANAGER to open the GstarCAD Plot Styles folder. This is usually the safest way to find the correct plot style location, especially when several GstarCAD versions are installed.

  1. Type STYLESMANAGER and press Enter.
  2. The PrintStyles folder opens.
  3. Open the required .ctb or .stb file.
  4. In the Plot Style Table Editor, switch to Form View.
  5. Select the colour or named style you want to modify.
  6. Set the required Lineweight and other plotting properties.
  7. Save the plot style table.

For a CTB file, the list contains colour-dependent styles. For an STB file, the list contains named styles that you define yourself.

Tip

For company standards, avoid changing an important shared CTB or STB without keeping a backup. Use Save As to create a new version when testing different lineweight configurations.

How can you check whether a drawing uses CTB or STB?

A DWG uses one plot style system at a time. You can quickly check the current mode with PSTYLEMODE.

Command: PSTYLEMODE ↵
PSTYLEMODE valuePlot style system
1Colour-dependent plot styles – CTB
0Named plot styles – STB

PSTYLEMODE is a read-only system variable, so it tells you which system the drawing currently uses but does not switch it directly.

How do you switch between CTB and STB?

If the drawing uses the wrong type of plot style system for your office standard, use CONVERTPSTYLES.

  1. Save a backup copy of the drawing.
  2. Type CONVERTPSTYLES and press Enter.
  3. Follow the prompts to convert the current drawing to the required plot style system.
  4. Run PSTYLEMODE afterwards to confirm the new mode.
  5. Review the drawing’s layers and plotting settings before producing final output.

Watch out

CTB and STB are two different plotting workflows. Do not convert a production drawing simply because a particular CTB or STB is missing. First check which system the project is intended to use.

How do you apply the plot style when printing?

Creating or editing the CTB or STB file does not automatically mean it is being used by the current layout. You still need to select the required table in the plotting settings.

  1. Press Ctrl + P or type PLOT.
  2. Find Plot style table (pen assignments).
  3. Select the required CTB or STB file.
  4. Enable Plot with plot styles.
  5. Use Preview to check the output.
  6. If appropriate, save the plotting settings to the layout.

Preview is especially important when changing lineweights. Check that important outlines are visually stronger while dimensions, hatches and secondary geometry remain appropriately lighter.

Practical example: setting up an architectural CTB

Suppose your office draws using indexed colours and wants a simple monochrome printing standard. Walls use colour 7, dimensions use colour 2 and hatches use colour 8.

Open the company CTB with STYLESMANAGER. In the Plot Style Table Editor, set colour 7 to print black at 0.50 mm, colour 2 at 0.18 mm and colour 8 at 0.13 mm. Save the CTB.

Run PSTYLEMODE in the project drawing and confirm that the value is 1. Then open PLOT, select the company CTB under Plot style table, enable Plot with plot styles and check the drawing in Preview.

Instead of manually changing hundreds of object lineweights, the existing CAD colours now control the printed hierarchy automatically.

When should you choose CTB and when STB?

CTB is usually convenient when your company already uses a well-established colour standard, where each drawing colour has a clear printing purpose. It is simple, predictable and commonly used in existing DWG workflows.

STB is useful when you want plotting behaviour to be independent of colour. A red object and a blue object can use the same named plot style, while two objects with the same display colour can still print differently.

The important rule is consistency. Choose one plotting system for the project, configure the lineweights centrally, apply the correct plot style table in PLOT and verify the result with Preview. A properly configured CTB or STB turns lineweight control from a repetitive manual task into a reusable printing standard.

All tips Updated 7 October 2026
Continue learning
View all tips

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.