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
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.
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 activity | Activity ID | Level code | Zone code | Model group |
|---|---|---|---|---|
| Pour slab, level 3, north | A3120 | L03 | N | STR-L03-N-Slab |
| Erect columns, level 4, north | A3210 | L04 | N | STR-L04-N-Columns |
| Install curtain wall, level 4, east | A4310 | L04 | E | ENV-L04-E-Curtainwall |
| Set tower crane (temporary) | A1050 | SITE | - | 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.
| Route | Carries | Watch for |
|---|---|---|
| Primavera XML | Activities, dates, relationships, codes, calendars, often resources | The 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 file | The native Primavera format, with the full set of data | Not every 4D tool reads it. Check the supported list. |
| Excel or CSV export | Only the columns you choose | Dates may arrive as text. Set one date format. Include Activity ID, name, planned and actual dates, and the codes. |
| Live connection to P6 | Whatever the connector supports | Dependent 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 ID | Activity name | Planned start | Planned finish | Actual start | Actual finish | Task type | Model group |
|---|---|---|---|---|---|---|---|
| A3120 | Pour slab, L3 north | 04-Mar | 08-Mar | 04-Mar | Construct | STR-L03-N-Slab | |
| A3210 | Erect columns, L4 north | 18-Mar | 22-Mar | Construct | STR-L04-N-Columns | ||
| A1050 | Set tower crane | 15-Jan | 19-Jan | 15-Jan | 19-Jan | Temporary | TMP-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.
Step 5. Make the links
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.
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.
| Check | Example count | Acceptable? |
|---|---|---|
| Activities in the schedule | 412 | Starting point |
| Activities linked to the model | 396 | Yes if the other 16 are milestones, procurement, approvals or commissioning, each listed with a reason |
| Physical construction activities with no link | 0 | Must be zero |
| Model groups in scope | 1,240 | Starting point |
| Groups in scope with no activity | 3 | No. 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 see | What to check |
|---|---|
| Elements appear at the wrong time | Task type (construct or temporary) and the dates on the linked activity |
| An element never appears | No link, or the group is empty after a revision |
| Two things appear at once | One group linked to two activities, or an activity with wrong dates |
| The sequence is right but looks implausible | Logic, durations and calendars in the schedule. The model is showing what the schedule says |
| Dates differ from P6 | Date 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.