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.
| System | How styles are assigned | Typical workflow |
|---|---|---|
CTB | Based on object colour | Each indexed CAD colour is assigned a print colour, lineweight and other output properties |
STB | Based on named plot styles | Objects 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.
- Type
STYLESMANAGERand press Enter. - The PrintStyles folder opens.
- Open the required
.ctbor.stbfile. - In the Plot Style Table Editor, switch to Form View.
- Select the colour or named style you want to modify.
- Set the required Lineweight and other plotting properties.
- 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 value | Plot style system |
|---|---|
1 | Colour-dependent plot styles – CTB |
0 | Named 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.
- Save a backup copy of the drawing.
- Type
CONVERTPSTYLESand press Enter. - Follow the prompts to convert the current drawing to the required plot style system.
- Run
PSTYLEMODEafterwards to confirm the new mode. - 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.
- Press Ctrl + P or type
PLOT. - Find Plot style table (pen assignments).
- Select the required CTB or STB file.
- Enable Plot with plot styles.
- Use Preview to check the output.
- 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.