Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.
  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.
Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.

What is a .SES File? Complete Specctra Session File Guide for PCB Engineers

If you’ve ever worked with PCB autorouting software, you’ve probably encountered the .SES file format. As a PCB engineer who has spent countless hours routing boards both manually and with autorouters, I can tell you that understanding this file format is essential for an efficient design workflow. In this guide, I’ll walk you through everything you need to know about .SES files and how to use them effectively in your PCB projects.

Understanding the .SES File Format

A .SES file (Specctra Session File) is a specialized data interchange format used in printed circuit board (PCB) design. The .SES file contains the routing results generated by an external autorouter and serves as the bridge to transfer those completed traces back into your PCB design software.

The format was originally developed by Cooper & Chyan Technology (CCT) in 1989 and later acquired by Cadence Design Systems in 1997. Today, it has become an industry-standard format supported by numerous EDA tools and autorouters worldwide.

How the .SES File Fits into PCB Design Workflow

The .SES file works in tandem with the .DSN (Specctra Design) file. Here’s how the typical workflow operates:

  1. You export your unrouted PCB design as a .DSN file
  2. The autorouter reads the .DSN file and performs automatic trace routing
  3. The autorouter exports the routing results as a .SES file
  4. You import the .SES file back into your PCB design software
  5. Your board now displays the completed routing

The beauty of this system is that the .SES file contains only the incremental changes (the new traces and vias) rather than the entire board design. This makes it efficient and reduces the risk of data corruption during the transfer process.

Technical Structure of .SES Files

The .SES file uses an s-expression (symbolic expression) format, which is essentially a text-based, human-readable structure similar to LISP programming syntax. This makes it possible to open and inspect .SES files with any text editor if troubleshooting is needed.

Key Components Stored in a .SES File

ComponentDescription
Session HeaderContains metadata about the routing session and version information
ResolutionDefines the coordinate system units (typically mils or microns)
RoutesContains all wire/trace path coordinates for each routed net
ViasSpecifies via locations and types used in the routing
Layer InformationReferences to PCB layers where traces are placed
Net NamesIdentifies which electrical nets each route belongs to

.SES File Syntax Example

When you open a .SES file in a text editor, you’ll see nested parenthetical structures like this:

(session MyBoard  (routes    (resolution um 10)    (library_out      (padstack “Via[0-1]_600:400_um”)    )    (network_out      (net GND        (wire          (path F.Cu 250  125000 75000  125000 85000)        )      )    )  ))

Software That Supports .SES Files

The .SES file format enjoys broad support across the PCB design industry. Whether you’re using professional commercial tools or open-source alternatives, you’ll likely find .SES import/export capabilities.

PCB Design Software with .SES Support

Software.SES Export.SES ImportNotes
KiCadYesYesFile → Import → Specctra Session
Autodesk EAGLEVia ULPVia ULPRequires User Language Program scripts
EasyEDA / JLCPCB EDAYesYesBuilt-in support in Pro version
Altium DesignerYesYesSpecctra interface included
OrCAD PCB EditorYesYesNative Cadence support
Target3001!YesYesDirect integration available
pcb-rndYesYesFull Specctra support since v3.0
DipTraceYesYesExport/Import from File menu

Autorouters That Generate .SES Files

AutorouterLicense TypeKey Features
FreeroutingOpen Source (GPL)45-degree and free-angle routing, Java-based GUI
Specctra (Allegro PCB Router)CommercialShape-based routing, industry standard
ELECTRACommercialHigh completion rates, push-and-shove capability
TopoRCommercialTopological routing, arc-based traces
DeepPCBResearchAI/RL-based experimental router

How to Work with .SES Files in Popular EDA Tools

Let me share the practical steps for using .SES files with the most commonly used PCB design software.

Using .SES Files with KiCad

KiCad has excellent native support for the Specctra format, making it straightforward to use external autorouters.

Exporting from KiCad:

  1. Open your board in PCB Editor (Pcbnew)
  2. Navigate to File → Export → Specctra DSN
  3. Save the .DSN file to your project directory

Importing .SES Back to KiCad:

  1. After autorouting completes, return to KiCad PCB Editor
  2. Go to File → Import → Specctra Session
  3. Select your .SES file
  4. Click Yes if prompted to reload board connectivity
  5. Your routed traces will appear on the board

Using .SES Files with Freerouting

Freerouting is the most popular free autorouter that works with .SES files. Here’s the complete workflow:

  1. Launch Freerouting and click “Open Your Design”
  2. Select your exported .DSN file
  3. Click the Autorouter button (magic wand icon)
  4. Wait for routing to complete (monitor the pass count)
  5. Go to File → Export Specctra Session File
  6. Save the .SES file
  7. Import the .SES file back into your PCB software

Pro Tip: Always wait for the autorouter to report 100% completion before exporting. Saving the session prematurely often causes PARSE_ERROR messages when importing back into your design tool.

Using .SES Files with EasyEDA Pro

  1. Open your PCB design
  2. Export via Top Menu → Export → Auto Routing (DSN)
  3. Open the .DSN in Freerouting or another compatible autorouter
  4. Complete the routing process
  5. Export the session as .SES
  6. Import via Top Menu → File → Import → Auto-Routing (SES)

Comparing .SES and .DSN File Formats

Understanding the relationship between these two formats helps clarify their roles in the autorouting process.

Characteristic.DSN File.SES File
Full NameSpecctra Design FileSpecctra Session File
PurposeInput to autorouterOutput from autorouter
ContentComplete board designOnly routing changes
Contains TracesExisting traces onlyNew autorouted traces
File SizeLarger (full design)Smaller (incremental)
DirectionPCB software → RouterRouter → PCB software
EditableReference onlyReference only

Common .SES File Issues and Troubleshooting

Over the years, I’ve encountered numerous problems with .SES file imports. Here are the most common issues and their solutions.

Parse Errors During Import

Symptom: Error message stating “Expecting ‘(‘ in input/source” or “PARSE_ERROR”

Causes and Solutions:

  • Premature export: Wait for autorouting to fully complete before saving
  • Mismatched component IDs: Ensure no schematic changes occurred between export and import
  • Software version incompatibility: Update both your PCB software and autorouter

Routes Not Appearing After Import

Symptom: Import completes without errors but no traces visible

Solutions:

  • Check that layer names match between .DSN and .SES files
  • Verify coordinate resolution settings match
  • Confirm no components were moved between export and import

Incomplete Routing Results

Symptom: Some nets remain unrouted after import

Solutions:

  • Review autorouter completion percentage before export
  • Check design rule constraints may be too restrictive
  • Consider manual routing for remaining connections
  • Verify net class assignments are correct

Best Practices for Error-Free .SES File Workflow

  1. Lock your design before exporting .DSN – Don’t modify components or connectivity
  2. Remove unnecessary vias and partial routes before exporting
  3. Use consistent coordinate units throughout your workflow
  4. Save backup copies before importing .SES files
  5. Run DRC after import to verify routing quality

Read more PCB Files format:

When to Use .SES Files in Your Design Process

The .SES file workflow is most beneficial in specific scenarios:

Ideal Use Cases:

  • Complex boards with hundreds or thousands of connections
  • Designs where time-to-market is critical
  • Boards with dense BGA routing requirements
  • Initial routing for subsequent manual refinement
  • Prototyping phases where quick iteration matters

When Manual Routing May Be Better:

  • Simple boards with few connections
  • High-frequency RF designs requiring precise trace control
  • Designs with strict EMI/EMC requirements
  • Boards where aesthetic trace appearance matters

Useful Resources for .SES File Users

Here are valuable resources to help you work more effectively with .SES files:

Software Downloads

ResourceURLDescription
Freeroutinghttps://github.com/freerouting/freeroutingOpen-source autorouter with .SES export
KiCadhttps://www.kicad.orgFree PCB design software with Specctra support
TopoR Litehttps://www.eremex.com/products/toporFree version (650 pin limit)

Documentation and Specifications

ResourceDescription
Cadence Specctra Design Language ReferenceOfficial specification document for DSN/SES format
KiCad Specctra Documentationhttps://docs.kicad.org – File format handling details
Freerouting User Manualhttps://freerouting.org/freerouting/manual

Community Forums

ForumFocus Area
KiCad.info ForumsKiCad-specific Specctra issues
EEVblog ForumGeneral PCB design and autorouting discussions
Reddit r/PrintedCircuitBoardCommunity troubleshooting and tips

Frequently Asked Questions About .SES Files

What programs can open .SES files?

.SES files in the Specctra format can be opened and imported by PCB design software including KiCad, Altium Designer, OrCAD, EasyEDA, DipTrace, Target3001!, and pcb-rnd. Note that the .SES extension is also used by other unrelated software like Adobe Audition (audio sessions) and MSC Patran (FEA sessions), so context matters when identifying the correct application.

Can I edit a .SES file manually?

Technically yes, since .SES files are plain text using s-expression syntax. However, manual editing is not recommended because even small syntax errors can corrupt the file and cause import failures. If you need to modify routing, it’s better to re-run the autorouter or make changes in your PCB software after import.

Why does my .SES file import fail with no error message?

Silent import failures typically occur when there’s a mismatch between the original .DSN export and the current board state. This happens if you modified component positions, changed net names, or updated footprints between exporting the .DSN and importing the .SES. Always keep your design unchanged during the autorouting cycle.

How do I convert .SES files to other formats?

.SES files themselves aren’t typically converted to other formats directly. Instead, you import the .SES into your PCB software, which integrates the routing data into your native design file (such as .kicad_pcb for KiCad). From there, you can export to other formats like Gerber, ODB++, or IPC-2581.

Is the .SES file format proprietary or open?

The Specctra DSN/SES format was originally proprietary to Cadence Design Systems. However, the format specification has been published and is now supported by numerous open-source and commercial tools. The format is considered a de-facto industry standard for autorouter data interchange.

Conclusion

The .SES file format remains an essential component of modern PCB design workflows, particularly when leveraging external autorouters to speed up the routing process. Understanding how to properly export, generate, and import these session files can save you significant time on complex board designs.

Whether you’re using commercial tools like Altium or open-source solutions like KiCad and Freerouting, the .SES file provides a reliable bridge between your design software and autorouting tools. By following the best practices outlined in this guide and using the troubleshooting tips when issues arise, you’ll be well-equipped to make the most of this powerful interchange format.

The key to success with .SES files lies in maintaining consistency throughout your workflow: keep your design locked during the autorouting cycle, use matching software versions, and always verify your results with a thorough DRC check afterimport.

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.

  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.

Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.