BIM and 4D

Linking a Primavera P6 schedule to a model, step by step

7 min readUpdated November 2026Variance Consulting LLC

A 4D link is a promise that an activity in the schedule and a group of elements in the model are the same piece of work. Keep that promise with a shared key, check it in both directions and re-test it at every update, and the 4D stays trustworthy. This article follows the steps with a six-level building as the example. The menu names in P6 and in the 4D tool vary by version, so treat them as pointers.

On this page
  1. What you are building
  2. Step 1. Prepare the schedule in P6
  3. Step 2. Prepare the model groups
  4. Step 3. Choose the export format
  5. Step 4. Import and map the fields
  6. Step 5. Make the links
  7. Step 6. Reconcile in both directions
  8. Step 7. Update every month without losing the links
  9. When something looks wrong

Key takeaways

  • The link needs a shared key: the Activity ID, or codes for level, zone and trade that appear in both the schedule and the model.
  • Export in a fixed layout and import by matching rule, so updates keep the links.
  • Reconcile both ways: activities without geometry and model groups without an activity.
  • Change dates in the schedule, never in the 4D tool, and keep each schedule version separate.

What you are building

Three things have to line up: the activity in the schedule, the group in the model and the key that joins them. Everything else in this article is there to make that key stable.

Illustrative layout of a 4D review screen. Not a screenshot of any product.IDActivityStartA3120Pour slab L3 NMar 04A3210Erect columns L4 NMar 18A3220Pour slab L4 NMar 25A4310Curtain wall L4 EApr 08L1L2L3L4L5Zone NZone SDate shown: 18 MarStartFinishPlay Step Planned / Actual
Most 4D tools show the same three things: the activities, the model at a chosen date, and a control for the date. Green is complete, amber is in progress, outline is not started.

On screen the result looks simple: a list of activities, the model at a date, and a slider. Behind it sits a table that says which elements belong to which activity. That table is what you maintain.

Step 1. Prepare the schedule in P6

  • Give every activity a unique, stable Activity ID. Do not renumber IDs between updates.
  • Add activity codes for the things the model also knows: Level, Zone and Trade. A code can later become the matching key or a filter.
  • Keep activities short enough to show a visible change in the model. See From model to 4D sequence.
  • Add the temporary works that drive the sequence, such as cranes, hoists, scaffolds and shoring, as their own activities.
  • Check that the logic is sound before linking. See What makes a CPM schedule defensible.

Step 2. Prepare the model groups

The model needs a group for every constructible piece of work: usually a selection set, search set or classification code that gathers the elements. Name each group with the same pattern as the schedule, so a match can be made on text.

Schedule activityActivity IDLevel codeZone codeModel group
Pour slab, level 3, northA3120L03NSTR-L03-N-Slab
Erect columns, level 4, northA3210L04NSTR-L04-N-Columns
Install curtain wall, level 4, eastA4310L04EENV-L04-E-Curtainwall
Set tower crane (temporary)A1050SITE-TMP-Crane-TC1

The model team owns the groups, and the planner owns the activities. The mapping table is shared and the person who runs the 4D keeps it.

Step 3. Choose the export format

Most 4D tools accept more than one route from P6. The right one depends on what the tool can read and what you need to carry across.

RouteCarriesWatch for
Primavera XMLActivities, dates, relationships, codes, calendars, often resourcesThe tool may read only part of the file. Check the field list. One vendor manual describes XML as the best way to load schedule metadata.
XER fileThe native Primavera format, with the full set of dataNot every 4D tool reads it. Check the supported list.
Excel or CSV exportOnly the columns you chooseDates may arrive as text. Set one date format. Include Activity ID, name, planned and actual dates, and the codes.
Live connection to P6Whatever the connector supportsDependent on the P6 setup and permissions. Test updates, not just the first load.

Whichever you use, fix the export layout once and keep it. A changed column order or a renamed field is a common reason an update fails.

Step 4. Import and map the fields

Map the tool’s fields to the P6 ones, and check the dates against P6 before anything else. A typical CSV for the first load looks like this:

Activity IDActivity namePlanned startPlanned finishActual startActual finishTask typeModel group
A3120Pour slab, L3 north04-Mar08-Mar04-MarConstructSTR-L03-N-Slab
A3210Erect columns, L4 north18-Mar22-MarConstructSTR-L04-N-Columns
A1050Set tower crane15-Jan19-Jan15-Jan19-JanTemporaryTMP-Crane-TC1

Decide which dates the sequence should show: the baseline, the current plan or the actuals. They answer different questions. For a progress comparison show planned and actual together. For anything that may later be used to explain a delay, keep each schedule version and its date separate and never overwrite one with another.

Link by rule wherever the tool allows it. Matching the Activity ID, or a code built from Level, Zone and Trade, to the group name makes the link repeatable. Clicking each link by hand works once and fails at the first revision.

Schedule activitiesModel groupsA3120 Pour slab, L3 northA3210 Erect columns, L4 northA4310 Curtain wall, L4 eastA5010 Roof edge protectionA5020 Roof membraneA9990 Handover, milestone (no link)STR-L03-N-SlabSTR-L04-N-ColumnsENV-L04-E-CurtainwallARC-Roof-AllMEP-L04-N-DuctworkRed: one group serving two activities hides the work.Dashed: a group in scope that no activity uses. A milestone needs no link.
Link one activity to one group wherever possible. Check both directions: activities without geometry and groups without an activity.

One activity to one group is the cleanest case. When a group serves two activities, split the group first, otherwise the second activity has nothing of its own to show.

Step 6. Reconcile in both directions

A 4D that looks right can still hide gaps. Count them.

CheckExample countAcceptable?
Activities in the schedule412Starting point
Activities linked to the model396Yes if the other 16 are milestones, procurement, approvals or commissioning, each listed with a reason
Physical construction activities with no link0Must be zero
Model groups in scope1,240Starting point
Groups in scope with no activity3No. Find the activity, merge the group or take it out of scope on purpose

These counts are illustrative. The rule behind them is not: every physical activity must show geometry, and every group in scope must belong to an activity. Then check that dates in the tool equal the dates in P6, and that no element is shown by two activities that overlap in time.

Step 7. Update every month without losing the links

When the new schedule update arrives, import it using a matching rule such as activity ID, not by replacing everything. Then list what changed: new activities, deleted ones, moved dates and changed durations. Relink only those. Change the schedule in P6 and re-import. One vendor’s documentation warns that changes made to imported tasks inside the 4D tool are overwritten when the source refreshes, which is the right behaviour: the schedule is the master. See Keeping a 4D model current: the monthly routine.

When something looks wrong

What you seeWhat to check
Elements appear at the wrong timeTask type (construct or temporary) and the dates on the linked activity
An element never appearsNo link, or the group is empty after a revision
Two things appear at onceOne group linked to two activities, or an activity with wrong dates
The sequence is right but looks implausibleLogic, durations and calendars in the schedule. The model is showing what the schedule says
Dates differ from P6Date format, calendar handling and which date set was imported

Product names in this article belong to their owners. They are named for orientation only, as examples of tools used for 4D work. Variance Consulting LLC is not affiliated with these companies and does not endorse or resell their products. Features and supported versions change, so confirm them in the vendor’s current documentation before you decide.

References and technical notes

  • ISO 19650, information management using building information modelling
  • ISO 16739-1, Industry Foundation Classes (IFC), and EN 17412-1 with ISO 7817-1, level of information need
  • BIMForum, Level of Development (LOD) Specification
  • The vendor documentation of the tool you use, for the import formats, task types and update options described (features and versions change)
  • The BIM execution plan and the scheduling specification of the project

Named for orientation only. Use the current edition and your own contract. This article is an independent summary and is not material from those organizations. Numbers and projects in the examples are illustrative. Last technical review: November 2026.

This article is general information about scheduling and project controls practice. It is not legal advice, and recommended practices are guidance, not rules: the contract and the specification for each project govern. Product names mentioned are trademarks of their owners and are used for identification only. No affiliation or endorsement is implied.

Tell us about your project.

Send a few details and we will reply with a clear next step.

Call usRequest a Proposal