Video chapters 18
- 0:00Two drawings, one schedule
- 0:17Welcome
- 0:44What a linear drawing needs from P6
- 1:32Settle the route first
- 1:58The teaching project
- 2:38Create the user defined fields
- 3:45Create the activity codes
- 6:02A layout for the coding
- 7:24Fill the chainages, the right way round
- 9:47Assign the style and the location
- 12:06The chart flag
- 12:35A summary band that changes nothing
- 14:51Check before you export
- 15:28Export the XER
- 15:47A quick look in Excel
- 17:55Mistakes to catch
- 18:17Check yourself
- 18:37Recap
Why does P6 need extra fields for a linear schedule?
Because nothing in a P6 activity holds a distance along a route. An activity has dates, durations, logic and float, and its name may say "Ch 12+000 to 8+300", but no field says where the work is. A linear schedule puts time on one axis and distance on the other, so it has to get the distance from somewhere, and the dependable place is fields someone added to the schedule.
Five things go in:
| Field | Kind in P6 | What it does on the drawing |
|---|---|---|
| Start Chainage | User defined field, Number | Where the activity starts working |
| Finish Chainage | User defined field, Number | Where it finishes; the pair also records the direction |
| Linear Style | Project activity code | The legend, and whether the work draws as a sloping line, a block or a bar |
| Location | Project activity code | The named sections along the top of the sheet |
| Show on Linear | User defined field, Text | Y for the activities that belong on the drawing |
The teaching project is Fenwold Ridge Fibre Route, a fictional 12 km fibre route with 21 activities on one five-day calendar, from 7 June to 23 September 2027. Crew A trenches up the route from the exchange, with a drilled crossing under Holloway Creek. Crew B starts at the far end and works back towards the middle, with a bore under Kestle Road, and is on the longest path. The two crews meet at a splice chamber at chainage 6,000.
What should you settle before typing a chainage?
Three answers, written down before anyone touches the schedule: where chainage zero is, which way chainage runs, and the units. On the fibre route, zero is the exchange at the west end, chainage runs towards the Ridgeway cabinet 12,000 m away, and the unit is metres, with nothing else in the same file. Every number typed later depends on these three answers, and changing one later means retyping all of them.
How do you create the chainage fields in P6?
Open Enterprise › User Defined Fields, make sure the subject area is Activities, and add three fields: Start Chainage and Finish Chainage with the Data Type Number, and Show on Linear as Text. The list belongs to the whole database, not to one project, so agree the names once for the whole company.

Number matters. Stored as text, chainages sort in the wrong order (12000 comes before 999) and nothing can do arithmetic with them. A P6 Number field keeps two decimal places, which is plenty for metres. Creating the fields changes nothing in the schedule: no date, no float.
How do you set up the style and location codes?
Open Enterprise › Activity Codes, choose Project so the codes belong to this project only, press Modify and add two code types: Location, and Linear Style with a maximum length of 10 characters so a value such as CROSSING fits. Then add the values.
- LocationS1, the exchange to Holloway Creek; S2, Holloway Creek to Kestle Road; S3, Kestle Road to the Ridgeway cabinet. The description is what a reader sees along the top of the sheet, so write it for a stranger.
- Linear StyleOne value per line of the legend, in the language of the site: survey, trench, chamber, crossing, cable, test, restore and milestone. Eight values.

A discipline code with a handful of values can serve as the style code. A cost code with ninety values cannot: it is not a legend.
To fill everything in comfortably, build a layout: in Columns add the two chainages after the finish date, then Linear Style, Location and Show on Linear, and keep Total Float at the end. In Group and Sort leave Show Group Totals off, because P6 adds up number fields on the WBS bands and a total of chainages means nothing. Save the layout (here as Linear coding, available to the current user). A layout lives in the P6 database: it does not travel inside an XER.
Which way round do the chainages go?
Start Chainage is where the crew starts; Finish Chainage is where it finishes. When a crew works back down the route, the finish is the smaller number, and that is how the direction is recorded. Crew B starts at the far end, so its first trench is 12000 to 8300, not 8300 to 12000.
| Activity | Start Chainage | Finish Chainage | Dates (2027) |
|---|---|---|---|
| FR-4000 Trench and lay duct | 12000 | 8300 | 6 Jul – 29 Jul |
| FR-4010 Bore under Kestle Road | 8300 | 8200 | 30 Jul – 5 Aug |
| FR-4020 Trench and lay duct | 8200 | 6000 | 6 Aug – 20 Aug |
| FR-4030 Install splice chamber | 6000 | 6000 | 23 Aug – 25 Aug |
The tidy habit is to put the low number first, and P6 accepts it without complaint. The dates stay right, the float stays right, and the drawing shows Crew B walking outwards from chainage 8,300, starting at a road crossing it will not reach for three weeks. Once the numbers are in, sort by Start Chainage: anything far from where you expect it is a typo, and Crew B's activities read backwards, because the crew works backwards.

A crew lays duct from chainage 4,800 back to 3,200. What goes in Start Chainage?
Show the answer
4800. The start is where the crew starts, so the finish (3200) is the smaller number and the line slopes back towards zero.
How do you code milestones, one-place work and work with no place?
Three kinds of row need a decision rather than a measurement. A milestone for the whole route, such as notice to proceed or the route in service, gets 0 and 12000 and draws as a dashed tie across the sheet. Work in one place, such as the splice chamber, gets the same number twice (6000 and 6000) and draws as a bar. Work with no place at all, such as mobilising, the road-crossing permit and the as-built records, gets no chainages and the flag N.
The location code has one rule of its own: give a section only to work that sits inside it. The cable pulls run 6,000 m across two sections, so their Location stays blank, as do the survey, the test and the restoration. One activity coded to the wrong section stretches that section out as far as that activity's chainages.
Where neighbouring rows share a value (the splice and the two terminations are all Chamber), set the first, select it and the rows below, and press Ctrl+E to fill down. The flag is fastest the same way: Y on the first row filled down the column, then N on the three rows with no place. They stay in the schedule and in the logic; they simply happen nowhere along the route.
How do you add a summary band without changing the schedule?
A summary band draws a group of activities as one block. Make it a Level of Effort activity in its own WBS branch, tied to the first activity it covers with a start-to-start relationship and to the last with a finish-to-finish relationship, and give it nothing else: no successors, no constraints, no resources, no cost. A level of effort activity takes its dates from those relationships.
- A branch for bandsProject › WBS: add a branch well away from the working schedule (here ZZ Linear schedule bands), so bands are easy to find and easy to delete.
- The activityAdd an activity in that branch; the New Activity wizard asks for an ID and a name (name it for the reader: LS - Crew B - Trench and duct) and the activity type, Level of Effort.
- Two predecessorsDetails pane › Predecessors › Assign: Crew B's first trench and its last trench. Both arrive as finish to start; change the first to SS and the second to FF.
- Its codingChainages 12000 to 6000, Show on Linear Y, and a Linear Style value of its own: BAND, described as Summary bands.

Then note the finish date, press F9 and look again. On the fibre route the band runs from 6 July to 20 August 2027, the finish is still 23 September, and every total float is what it was. That before-and-after is worth keeping: a band must be a passenger, never a driver. If anything moved, the band is wired in as logic, and that is an undisclosed change to the schedule.

What should you check before exporting the XER?
Check the coding the way a reviewer would. A filter called On the drawing with one line, Show on Linear equals Y, leaves only the activities that will be drawn: 19 on the fibre route, the band included. Every one should have both chainages and a style. Then look down the chainage columns for the work that runs against the chainage; here that is Crew B, the restoration that follows it, and the band. If your crews work both ways and every finish is bigger than its start, something has been tidied.

Schedule once more with F9 so the dates in the file are current, then File › Export, choose the Primavera PM (XER) format and this project only. The user defined fields and the project's activity codes travel inside the XER; the layout does not, which is why it was saved in the database.
What does the drawing show that P6 cannot?
Opened in Trestle Path for Excel, the exported file is drawn at once: 19 of 22 activities, in nine styles, banded by the three locations. The add-in found the fields it needed on its own and says how it read them: stations from Start Chainage to Finish Chainage, styles from Linear Style, only where Show on Linear is Y, three held out by the flag. Crew B's trench slopes back from the far end because 12000 was typed first; the crossings are blocks, the chamber and terminations are bars, the milestones are ties.

Its checks then show one thing P6 cannot: an overlap. The cable pull running up from the splice chamber (FR-5010) crosses the restoration crew coming down (FR-6015) near chainage 6,460 on 26 August 2027. In P6 both activities look fine; nothing is late and no relationship is broken. On the drawing, two crews are in the same stretch of verge on the same day, which is a conversation for before the look-ahead, not on site.

The drawing is read from the schedule and never writes back to it. When the schedule is updated, export again and redraw. More on how the drawing is read, with a larger worked example, is in the linear schedules guide.
Which mistakes should you look for in anyone's coding?
- Direction tidiedEvery finish bigger than its start, on a job where crews work both ways.
- Chainages stored as textThey sort wrongly and cannot be calculated with.
- A legend made of a cost codeNinety values is not a legend.
- A band with a successor outside its branchIt can push a date.
- A field created and never filledMost of the schedule piles up on chainage zero.
Draw your own schedule
Once the fields are in, the linear schedules guide shows how the drawing is read from a P6 or MS Project file, and what it can and cannot show.
Questions
Can a linear schedule read the chainage from the activity names?
Some tools try, and the add-in used here reads names only as a last resort. Names change, are abbreviated and are typed by different people, so a number field is the dependable source. Keep the chainage in the name for people if you like, and in the fields for the drawing.
Do the fields have to be called Start Chainage and Finish Chainage?
No. Use your company's words (Station From, KP Start). Trestle Path for Excel proposed these fields on its own from the file, and its panel lets you change how the file is read if it picks the wrong one.
Why not store the chainage in an activity code?
Code values are text, so they sort as text and cannot be calculated with, and a route needs one value per distinct chainage. A Number user defined field holds any value with two decimal places.
Does a summary band change the critical path?
It should not. Tied SS to the first activity it covers and FF to the last, with no successors or constraints, a level of effort activity only follows. Prove it: note the finish and the floats, press F9, and compare. On the fibre route nothing moved.
Do the fields and codes travel in the XER?
Yes: the exported XER carries the user defined fields and their values and the project's activity codes and assignments. The layout does not; it stays in the P6 database.







