Atomic Knowledge · AutoCAD

Plot Styles (CTB / STB)

The mapping from on-screen color or named style to printer lineweight, color, screening, and dithering at plot time.

🔗 Related Concepts

Deepen your understanding with these related topics:

ZRX SDK (ZWCAD API) Unstructured CFD Meshing (Fluent) Machine Control Export (Civil 3D) Product Manufacturing Information (PMI, NX) Hexahedral Structural Meshing (Mechanical) Direct Edit (NX)

Definition

AutoCAD supports two plot-style models: color-dependent (.ctb) and named (.stb). A CTB maps each of AutoCAD's 255 indexed colors (plus extra for true-color objects) to a plotted lineweight, screening percentage, and plotted color. An STB instead lets every entity carry a named plot style independent of color.

A drawing can use either model but not both; the choice is made by the template and convertible per drawing.

Why it matters

Plot styles are why an AutoCAD sheet that looks identical on screen can plot completely differently across two offices. Standardising CTBs (or moving to STBs and naming the styles by intent) is what makes prints look consistent.

Technical Deep Dive & Core Mechanics

The rendering pipeline for Plot Styles (CTB / STB) follows a multi-stage path: the display driver reads entity data from the in-memory database, transforms coordinates through the current viewport matrix (accounting for UCS, view rotation, and zoom level), clips geometry against the viewport boundary, and rasterizes the result to screen pixels. Hardware-accelerated drivers offload the final rasterization to the GPU, but the coordinate transformation and clipping stages remain CPU-bound.

When Plot Styles (CTB / STB) involves hatching, complex linetypes, or OLE objects, the rendering cost increases disproportionately because these entity types require secondary pattern generation or external process calls. Viewport configuration matters: multiple viewports in paper space multiply the rendering workload because each viewport maintains its own frozen-layer state, view direction, and visual style, forcing the engine to re-evaluate Plot Styles (CTB / STB) visibility independently for each viewport.

Step-by-Step Professional Implementation

Deploying Plot Styles (CTB / STB) in a production drafting pipeline requires disciplined setup and layer management:

  1. Configure the Drawing Template (.dwt): Start from an enterprise-standard template that locks units, dimension styles, text heights, and layer naming conventions. Verify that the title-block attributes map correctly to your project metadata schema.
  2. Establish Layer and Style Standards: When working with Plot Styles (CTB / STB), assign elements to correctly named layers with appropriate colors, linetypes, and lineweights. Use layer filters and states to manage visibility across complex sheet sets.
  3. Apply Annotation and Dimensioning Rules: Set annotative scales, dimension overrides, and text-style mappings that conform to your organization's drafting standards (ISO, ANSI, or company-specific). Validate dimension associativity to geometry.
  4. Run Drawing Audit and Cleanup: Execute AUDIT and PURGE commands to remove unused blocks, orphaned dimension styles, and zero-length geometry. Verify external reference (Xref) paths resolve correctly before packaging for deliverables.

Advanced Troubleshooting & Error Diagnostics

Diagnostic workflow for resolving Plot Styles (CTB / STB) issues in DWG-based environments:

  • Object selection failures: Clicking on Plot Styles (CTB / STB) entities doesn't select them. Resolution: Check if the entities are on a locked layer (LAYLOCKFADECTL), if PICKSTYLE is set to exclude certain object types, or if a drawing filter (QSELECT or selection cycling) is active. Use LIST command on a window-selected area to confirm entity presence.
  • Printing discrepancies: Plot Styles (CTB / STB) elements appear correctly on screen but print with wrong lineweights or colors. Resolution: Verify the active CTB/STB plot style table assignment. Check whether the viewport is set to display plot styles (View menu). Confirm that object-level color/lineweight overrides aren't conflicting with layer-level settings.
  • Associativity loss after copy/paste: Dimensions or leaders referencing Plot Styles (CTB / STB) geometry lose their association after pasting into another drawing. Resolution: Use PASTEORIG to maintain coordinate relationships. For complex associative groups, consider WBLOCK export instead of clipboard copy to preserve internal handle references.

Cross-Discipline Collaboration & Handoff

In multi-team drafting projects, Plot Styles (CTB / STB) frequently participates in cross-platform file exchanges. When sharing DWG/DXF files between offices or disciplines:

  • Reference File Strategy: Use external references (Xrefs) rather than block insertions for shared background drawings. This keeps file sizes manageable and ensures each team always loads the latest issued version. Establish overlay vs. attachment protocols based on plotting requirements.
  • Standards Compliance: Run CAD Standards checking (DWS files) before issuing drawings to verify that layer names, text styles, and dimension styles conform to the project's drafting manual. Non-compliant elements cause confusion in multi-firm coordination.
  • Format Interoperability: When exporting to downstream consumers (GIS analysts, structural engineers, facilities managers), verify that unit scaling, coordinate alignment, and entity types (polylines vs. regions) translate correctly to the target application's expectations.

Common pitfalls

  • Mixing CTB-mode and STB-mode drawings in one sheet set — viewport plot-style overrides won't behave intuitively.
  • Editing colors instead of plot styles, then wondering why a 'fix' didn't change the output.
  • Sending out the DWG without the plot style — recipient plots with their own CTB.
🛡️

AutoCAD Ecosystem Context

This concept is a core structural element of the AutoCAD drafting and engineering environment developed by Autodesk. The original commercial CAD platform — still the lingua franca of DWG-based 2D documentation across AEC, mechanical, and infrastructure work.

Explore AutoCAD Profile › About Autodesk ›

Relevant AutoCAD FAQs

Direct answers from our technical editorial desk concerning related workflows.

Why does my plot look different at home than at the office?

Almost always plot-style mismatch. AutoCAD plot styles (.ctb or .stb) live separately from DWG and are searched in the configured Printer Support File Path. Either embed your styles in the drawing's plot-style folder, or include them in your project package alongside the DWG.

How do I move a customised AutoCAD installation to a new computer?

Use Migrate Custom Settings (or the Reset Settings to Default option for a clean start) and export your profile (Options > Profiles > Export). Also copy your acad.pgp (command aliases), partial CUIs, LISP files, custom blocks, templates, plot styles, and printer .pc3 files. Re-import the profile and link the file locations on the new workstation.

What is the difference between PURGE and AUDIT?

PURGE removes unused named objects (layers, blocks, linetypes, text styles, dimension styles) from the drawing. AUDIT scans the drawing for internal errors and offers to fix them. RECOVER opens a damaged drawing while running an audit. Run all three on inbound DWGs before treating them as the model of record.

⚡ Concept Self-Test

Test your understanding of this concept to lock in your memory. Completing this quiz will automatically sync to your career learning progress.

Question 1

What is the key difference between color-dependent (.ctb) and named (.stb) plot styles?

🎓 Recommended Practice Lessons

Step-by-step practical exercises and certification-aligned paths chosen by our editors to master this concept:

🎁 Free

AutoCAD 2025 - 15 Minute Tutorial for Beginners!

Very short session if you only have ~20 minutes and want a quick orientation to AutoCAD 2025.

🎁 Free

AutoCAD Basic Tutorial for Beginners - Part 1 of 3

Part 1 of a classic beginner series—slower UI tour before drawing drills.

🎁 Free

AutoCAD for Beginners - Full University Course

Long-form free course—architectural 2D drill if you want one deep block.

🌳 Semantic Crossroads & Navigation Pathways

Trunk-Branch-Leaf Model

Explore cross-referenced learning lanes. Connect this specific method back to macro CAD coordinate foundations, parent software environments, and sibling parameters in our shared taxonomy map.

Trunk

Global Foundations

Core glossary, interactive graph, and domain-wide concept index.

Branch

Ecosystem Integration

Parent design environments and platforms implementing this method natively.

Leaf

Active Context & Neighbors

Current active term and close sibling concepts:

🍃 Active: Plot Styles (CTB / STB)

Discover More

Practical Workflow Tips

From years of production CAD work, here are field-tested approaches to Plot Styles (CTB / STB):

  • Save incremental versions before major edits: Before performing operations that touch many entities related to Plot Styles (CTB / STB), save a numbered backup (e.g., project_v12.dwg). The UNDO command has limits, and some operations cannot be fully reversed once saved.
  • Use named views to navigate efficiently: In drawings where Plot Styles (CTB / STB) spans multiple areas, create named views (VIEW command) for each zone. This eliminates repetitive pan-zoom sequences and ensures consistent viewport positions.
  • Establish a layer naming convention early: Plot Styles (CTB / STB) elements should follow a systematic layer naming scheme from the first drawing. Retrofitting layer organization onto a mature drawing set is far more time-consuming than setting it up correctly at the beginning.
  • Test plot settings on a single sheet first: Before batch-plotting a full sheet set with Plot Styles (CTB / STB) elements, print one representative sheet to verify lineweights, colors, and text sizes.

Sources & further reading

Was this conceptual reference clear and helpful?
✓ Thank you for your feedback! Your input helps shape the CAD curriculum.

Article text is original commentary by Gstarcademy editors. External documentation is linked, not republished. Vendor names and trademarks belong to their respective owners.