Creating print templates
Creating print templates
By creating your own template files, you can produce printouts that look exactly how you want them to.
Template location
Each custom print template should be saved into the My Documents\PrintTemplates\[spring type] folder. You can easily find and browse to this folder using the File Locations tab of the options window.
File structure
The template is an XML file. The lines below will produce a basic example, ready for you to add output fields between the <CustomTemplate> and </CustomTemplate> lines.
<?xml version="1.0" encoding="utf-8"?>
<CustomTemplate>
</CustomTemplate>
All output fields are contained within <PrintElement> tags. Detailed information and examples are shown below for each type.
Available outputs are:
- Line
- Rectangle
- Filled rectangle
- Text string
- Spring variable (which can be an input dimension or an output calculation)
- Spring drawing
- Goodman diagram
- Load/length graph
- Relaxation graph
- Operating data table
- Stress data table