How do you check Uniclass 2015 codes in an IFC model?
A Uniclass 2015 code in an IFC model is a classification reference on an element or its type, and a right code has to come from a table that fits the element's IFC class, such as Pr_30_59 Openings and opening component products for a door. You check it element by element: is the reference there, is the code written as NBS writes it, and does its table fit the class. IFC Checker's Classification check asks every element of 12 groups of IFC classes for a code that exists in Uniclass 2015 and starts with a branch that fits, and when a code does not fit names the code starts that fit, the first five and how many more.
The Uniclass tables a model uses
Uniclass 2015 is NBS's classification system, made of tables. Each table classifies one kind of thing, and its code starts with the table's letters. Four tables matter for the elements of a model:
| Table | What it classifies | Example |
|---|---|---|
| Pr Products | One product, as made or bought | Pr_30_59 Openings and opening component products |
| Ss Systems | Products that work together as one system | Ss_25_10 Framed wall systems |
| EF Elements/functions | A part of the building by what it does | EF_25_10 Walls |
| SL Spaces/locations | A room or an area by its use | A space's code starts with SL_ |
Other tables classify what is not a modelled element: Co Complexes and En Entities whole sites and buildings, Ac Activities the work done, and PM Project management the project's tasks. Which table the elements must carry is written in the client's requirements. Some ask for Products on every element, some for Systems, some for both.
How a Uniclass code is written
A code is the table's letters, then pairs of digits, separated by underscores. Each pair narrows the one before it: Ss_25 is a group, Ss_25_10 a subgroup within it, and longer codes go down to sections and objects. NBS writes the letters in a fixed case, Pr, Ss, EF and SL, and the digits always in pairs.
A check that compares codes exactly, as IDS does, fails a code in another case or with spaces in place of underscores, even when the person who typed it meant the right code. How do you check IFC classifications? lists the usual mistakes.
Where the code sits in an IFC file
The code is a classification reference, linked to the element by a relationship, and the reference points to the classification system it belongs to. In an IFC4 file, a wall's code takes three records:
#100= IFCCLASSIFICATION('NBS',$,$,'Uniclass 2015',$,$,$);is the system.#101= IFCCLASSIFICATIONREFERENCE($,'Ss_25_10','Framed wall systems',#100,$,$);is the code, its title and the system it belongs to.#102= IFCRELASSOCIATESCLASSIFICATION('0kP3xQm8T1Aw2vH7Lc9sYd',$,$,$,(#55),#101);links the code to the wall, record #55.
What to look for:
- The code is the reference's Identification in IFC4 and its ItemReference in IFC2X3. The title, here "Framed wall systems", is its Name.
- The system is the name of the classification the reference points to. Files spell it many ways: "Uniclass 2015", "Uniclass2015", "Uniclass" or "NBS Uniclass". The code's letters already show that it is Uniclass.
- The element or its type. The relationship can link the reference to an element, such as a wall, or to its type, and an element takes the references of its type. A model often carries the code once, on the type.
A code written as a property, such as a parameter named Uniclass in a property set, is not a reference (what a classification is). Whether an export writes a reference or a property depends on how the code was entered in the authoring tool and on its IFC export settings. Open one element in a viewer that shows classification references and look before you check the whole model.
Which table fits which IFC class
A code can be written right and still be wrong for its element: a wall coded EF_25_30 Openings has a real code, from a branch that holds doors and windows. NBS's tables give many Products and Elements/functions codes an IFC class, and IFC Checker's Classification check groups the IFC classes and asks each group for codes that start with one of these:
| IFC classes | A code that fits starts with |
|---|---|
| Doors and windows | Pr_30_59 Openings and opening component products, Ss_25_30 Door and window systems, Ss_25_32 Gate and access control systems, Ss_30_30 Roof and floor opening systems, Ss_30_36 Ceiling and soffit opening systems, EF_25_30 Openings |
| Walls and curtain walls | The wall systems of Ss_25 (framed, monolithic, panel, cladding, lining, fences and barriers, and more), Ss_20_60 Retaining wall systems, EF_25_10 Walls, EF_25_55 Barriers, Pr_20 Structure and general products, and the skin products of Pr_25 |
| Slabs and roofs | The structural systems of Ss_20 for substructure, frames, bridges, protection and accessories, most of the roof, floor and paving systems of Ss_30 but not its openings, Ss_35_10 Stair and ramp structure systems, EF_20 Structural elements, EF_30 Roofs, floor and paving elements, EF_35 Stairs and ramps, Pr_20, the skin products of Pr_25, Pr_25_30_90 Treads and landing units |
| Stairs, ramps, their flights and railings | Ss_35_10, Ss_35_30 and Ss_35_40 for stairs and ramps, Ss_25_15 Fixed pedestrian barrier systems, Ss_25_60 Wall and barrier accessory systems, EF_35 Stairs and ramps, EF_25_55 Barriers, Pr_25_30 Fixed access products, Pr_20 |
| Beams and columns | The structural systems of Ss_20, among them Ss_20_20 Structural beams and Ss_20_30 Structural columns, Ss_30_10 Roof structure systems, Ss_30_12 Floor and deck structure systems, Ss_35_10, EF_20, EF_30, Pr_20 |
| Footings and piles | Ss_20_05 Substructure systems, EF_20_05 Substructure, Pr_20 |
| Coverings | The cladding, lining, paving, flooring, ceiling, covering and finish systems of Ss_25, Ss_30 and Ss_35, Ss_32 Damp-proofing, waterproofing, insulating and plaster-finishing systems, Ss_40_90 General finishing systems, EF_25_10 Walls, EF_30, Ss_30_60_30 Floor feature systems, Pr_15_57 Non-rigid sheet, mat and strip preparatory products, the skin products of Pr_25, Pr_35 Covering and finishing products, Pr_80_77_76 Services insulation and protection products |
| Furniture | The fittings, furnishings and equipment systems of Ss_40, EF_40 Signage, fittings, furnishings and equipment, Pr_40_10 Signage products, Pr_40_20 Sanitary fittings and accessories, Pr_40_30 Fittings, Pr_40_50 Furnishings, Pr_40_70 Equipment |
| Ducts, pipes, cables, their fittings, cable carriers and junction boxes | The services systems Ss_50 to Ss_75, the functions EF_50 to EF_75, the distribution products of Pr_65 (chutes, gutters, pipes, liquid and gas distribution, ductwork and its accessories, cables, wiring accessories), Pr_80_77 Services support and containment products |
| Terminals and equipment, 57 classes from air terminals to pumps, lights and lifts | The services systems Ss_50 to Ss_80, the functions EF_50 to EF_80, Pr_55, Pr_60, Pr_70, Pr_75 and Pr_85, the pumps, valves, filters, dampers, air distribution and other products of Pr_65, Pr_40_20, Pr_40_70, Pr_80_51 Measuring and metering products, Pr_80_77 |
| Spaces | SL_, any Spaces/locations code |
| Building element proxies | Pr_, Ss_ or EF_: only the form, as no table fits every proxy |
Any table that fits counts, so a wall passes with a Products code, a Systems code or an Elements/functions code. If your client asks for one table only, pick it in the check's Set up, or write that rule in an IDS of your own. The groups and their starts are IFC Checker's own, not part of Uniclass. Uniclass 2015 is © NBS, CC BY-ND 4.0.
Where the line between two groups falls
Some branches of Uniclass hold the codes of two groups, and the check draws the line where NBS's tables do.
- A wall coded as a door system fails. Ss_25 holds wall systems and door and window systems alike, so walls take the wall systems of Ss_25 one by one, and a wall coded Ss_25_30_20 fails.
- A landing takes its stair's code. A landing is a slab of its stair, so slabs also take Ss_35_10, EF_35 and Pr_25_30_90 Treads and landing units.
- Pipe and duct insulation is a covering. IFC writes it as a covering of the type INSULATION, so coverings take Pr_80_77_76 Services insulation and protection products.
- A code that stops too early says neither. Pr_65_65 Ductwork products holds both ducts and dampers, so a code that stops there fits neither group and fails. The reason names the starts that fit, and a longer code in the element's own branch, such as Pr_65_65_25 Ductwork and fittings for a duct, passes.
What the check leaves to you
The Classification check checks that a code is there, that it exists in Uniclass 2015 and that it starts with a branch that fits the class. A code that NBS has withdrawn fails, with the code to use in its place when NBS gives one. With the name set up, it also checks that the name is the code's. It does not find that two places disagree, and it reads a code kept in a property only when its Set up names that property. An element passes when one of its codes passes, or its type's does, even when its own code is wrong. Classes outside the 12 groups, such as members, plates and reinforcement, stay Untested. How do you check IFC classifications? lists the rest, and what an IDS of your own can add.
Check Uniclass codes in IFC Checker
IFC Checker is built for reviewing the information in IFC models. The Classification check is a box under Model health on Check, and its failures count toward a Model Correctness Index of its own.
- Open Check. Drop the
.ifcfiles on the IFC Checker mark, or click the mark and choose them. Without a model of your own, choose Try the sample model, which carries Uniclass codes with some failures in them. - Under Model health, tick Classification. Pick a test under Tests too, or none, and choose Run checker.
- In Extended data, open the Classification tab. Each row is an element, with the codes it holds, and only the failing cell is tinted. Beside a test, the Tests button can show the Classification check alone.
- Point at a tinted cell. The reason says what is wrong: the code is not in Uniclass 2015, it was withdrawn, or it does not fit the class, and then it names the first starts of the codes that fit.
- Correct the codes in the authoring tool, export the IFC model again and check again. To send the failures as issues, choose Download BCF at the foot of the page (How do you make BCF issues automatically from an IFC model check?).
How to read the table is in How do I use the Extended data section?, and the steps of a check, with several models in one, in How do I check an IFC model?.
Related
Try it
The button opens Check with Uniclass 2015 classification picked. Add an IFC model and run the check. No account or e-mail address is needed.