How do you check IFC classifications?
A classification in an IFC file is a reference from an element to a code in a classification system, such as Uniclass 2015, OmniClass or CoClass. You check it by asking, for each element, whether a code is there, whether it is written as the system writes it, whether it exists and whether it fits the kind of element, and an IDS file states those requirements so any IDS checker can test them. IFC Checker checks the classification rules of any IDS, and its Classification check finds the elements whose Uniclass 2015 code is missing, badly written, not in Uniclass or from a table that does not fit their IFC class.
What a classification is in IFC
A classification says which kind of building element something is, in a published code list. In an IFC file it is a reference with two parts: the name of a classification system and the element's code in that system. The model stores the reference as a record linked to the element, and an element also takes the references of its type. A reference can also carry the code's title, such as "Doorsets".
A code typed into a property, such as a parameter called ClassificationCode or a property set named Uniclass2015, is not a classification reference. Many exports keep codes that way. A check for classification references does not read them, and a check for that property does.
Which systems people use
Each country or client names its system in its requirements. These are the common ones in Europe and North America:
| System | Where it is used |
|---|---|
| Uniclass 2015 | The UK, and Baltic clients such as VNĪ and Rail Baltica |
| CCI and CCI-EE | Denmark, Estonia, and Lithuania's system built on CCI |
| CoClass, with BSAB 96 | Sweden |
| NS 3451 | Norway |
| Talo 2000 | Finland |
| LVS 1078:2024 | Latvia |
| NL-SfB | The Netherlands |
| DIN 276 | Germany |
| OmniClass, MasterFormat and Uniformat | North America |
A project can also name a system of its own.
The usual mistakes
- No code. The element has no classification reference, the code is empty, or the code is only in a property.
- A reference without a system name. The element has a code, but the reference names no system.
- Another system, or its name spelled another way. The element is classified only in another system, or the system is written "Uniclass2015" where the requirement says "Uniclass 2015".
- A badly written code.
PR_30_59_24in capitals,Pr 30 59 24with spaces, or the title "Doorsets" in place of the code. - A table that does not fit the element. A door coded
Pr_20_93_52, a code from Pr_20 Structure and general products. - A code that does not exist.
Pr_30_59_24_99looks right for a door, but Uniclass has no such code. - A title that does not fit the code. The code is for one product and the title names another.
- Two places disagree. The classification reference and a property hold different codes, or the type and the element do.
- A code without the values it needs. The doors coded as fire doors have no fire rating.
Ways to check
- By hand in a viewer. Most IFC viewers show an element's classification references among its properties. It works for a few elements, and it takes too long for a model of thousands, where one wrong table hides among the right ones.
- With a script. A script can read every element's classification references and compare each code with a list of the system's codes. It can check anything, the title and the code's existence included, but someone has to write it, keep its code list current and explain its results to others.
- With an IDS file. IDS is buildingSMART's standard for information requirements. The client writes which elements need a classification, in which system and with which codes, and any IDS checker tests the model against the same file, element by element. An element that no requirement applies to is Untested, never Pass. What is IDS? explains the file, and How do you check an IFC model against IDS requirements? goes through a check.
What an IDS can require
The classification part of an IDS has two values, a system and a code, and it can stand in two places.
- As a requirement. The elements the specification applies to must have a classification (required), must not have one (not allowed), or must match if they have one (optional).
- As what a specification applies to. The requirement is tested only on elements that have a classification, for example the doors whose code starts with Pr_30_59, which must then have a fire rating. In the IDS editor this is a By rule condition.
The system is one name, or any system. An IDS file from another tool can also give the system as a list or a pattern: the check reads it, and the IDS editor keeps such a rule as it is written.
The code can be any code, one exact code, one of a list, a code that starts with or contains some text, or a pattern. A code also meets a requirement through the codes above it in the classification's tree, when the model records them: an element classified with a child code meets a requirement for its parent code. An element with several codes in the system passes when one of them is allowed. Names and codes are compared exactly, in case too.
An IDS cannot compare two values, so a title that does not fit its code and two places that disagree need a check of their own.
The Classification check in IFC Checker
IFC Checker checks the classification rules of any IDS. The engine gives the specified result on all 27 of the classification cases among buildingSMART's IDS test cases, checked again with every change to the engine. For Uniclass 2015, NBS's system, it also has a check of its own.
The Classification check is a box under Model health on Check. Tick it, and it runs beside the test you pick, or alone. It asks every element of 12 groups of IFC classes for its code: doors and windows, walls, floors and roofs, stairs and railings, beams and columns, foundations, coverings, furniture, two groups of services, spaces and generic elements. On each element it checks three things:
- A code is there.
- The code exists in Uniclass 2015. A code that NBS has withdrawn fails, and the reason names the code to use in its place when NBS gives one.
- The code fits the IFC class. A door, for example, needs a code that starts with 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 or EF_25_30 Openings.
When its Set up asks for the code's name too, it also checks that the name is the one Uniclass gives the code.
- Any table that fits passes: Products, Systems or Elements/functions, and Spaces/locations for spaces. Set up can count only the tables you pick. A generic element gets only the form: any code that starts with Pr_, Ss_ or EF_.
- Any system name passes. Files spell the system's name in many ways, so the code shows that it is Uniclass. A reference that names no system fails.
- Its failures count in a Model Correctness Index of its own, beside the test's.
- It reads an element's codes together with its type's. A door whose type has a right code passes, even when the door's own code is wrong.
- Other classes are Untested, such as members, plates and reinforcement. The check is for IFC2X3 and IFC4 models.
The class groups are IFC Checker's own, written after NBS's latest tables (October 2026 for Products, Systems and Spaces/locations, October 2025 for Elements/functions). They are not part of Uniclass. The sample model carries Uniclass codes, most of them right, and a few wrong or left out on purpose, so the check shows its failures without a model of your own.
Of the usual mistakes, the check catches a missing code, a badly written code, a code that does not exist and a table that does not fit the class. With the name set up, it also catches a title that does not fit the code. A rule you write in an IDS catches another system and a code without the values it needs. Two places that disagree are not found yet. The Rail Baltica test checks the form of the Products code that Rail Baltica keeps in a property of its own, as a warning (its guide).
What IFC Checker shows
The failures are counted as Empty, Wrong or Other: a missing reference is Empty, and another system or a code that does not fit is Wrong. In Extended data a classification rule of an IDS has a Classification tab that lists the codes each element holds. Only the failing cell is tinted, with a glyph before its value, and a cell with no value says so. Point at the cell for the reason: that the element has no classification in the system, that it is classified but not in that system, or which code it has and which the IDS allows.
On Results the Classification check is a test of its own. In Extended data, open the Classification tab: each failing code has a tinted cell of its own. Beside a test, every test is shown at first, and the Tests button can show the Classification check alone. Point at the cell for the reason: the code is not in Uniclass 2015, it was withdrawn, it does not fit the class, the name is not the code's name, or the code is not used in this project. When a code does not fit, the reason names the starts that fit: "The code Pr_20_93_52 does not fit IfcDoor. A code of this class starts with Pr_30_59, Ss_25_30, Ss_25_32, Ss_30_30, Ss_30_36 or EF_25_30." How do I use the Extended data section? goes through the table.
Other predefined tests that ask for a classification
IFC Checker's COBie test asks for a classification reference, in any system, on the building, on each space or its type, and on each maintainable type, from its Design stage on. The sample checks ask the same of doors and windows. These rules are warnings: a warning is shown and never counted as a failure or in the Model Correctness Index. To make such a rule fail, write it yourself in the IDS editor and leave Warning off in its Need cell. Which predefined test and stage? lists the tests, and How do you check COBie data in an IFC model before handover? goes through COBie.
Set up the Classification check
When you tick the box, a line opens under it with the system, Set up and a grey line that says what is checked. Without a setup, the check reads the codes from the IFC classification and counts any table that fits the class. Set up needs an account: signed out, the line shows Sign in to set it up in its place, and a project can keep the setup. Set up changes three things:
- Where the codes are: in the IFC classification, the standard place, or in properties of the model that you name. Many Latvian models keep their codes in properties.
- What to check: the code, the code's name, or both. With properties, name the property set and the property of each.
- Which tables count: any table that fits the class, or only the tables you pick: Products, Systems, Elements/functions or Spaces/locations.
When the codes are read from the IFC classification and the elements with none keep a code in a property, the Classification tab on Results says so and offers Check with it. In a project, the project's list of Uniclass codes can leave branches out: a real code under a branch it leaves out fails as not used in this project.
The systems in IFC Checker
Uniclass 2015 is checked today, by the Classification check. The other systems of the table above are not in IFC Checker yet: more systems will come in time, and which come first is not decided. Any system can be checked today with an IDS that lists its codes or a pattern for them.
What comes next
- More classification systems in the Classification check, in time.
Check classifications in IFC Checker
IFC Checker is built for reviewing the information in IFC models. Run the Classification check, or write the classification rule in the IDS editor, or use an IDS file you were given, and check the model against it.
To run the Classification check:
- 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. - Under Model health, tick Classification. To read the codes from properties, or to count only some tables, choose Set up, which asks you to sign in when you are signed out. Pick a test under Tests too, or none, and choose Run checker. Results opens and shows the check while it runs.
- In Extended data, open the Classification tab and look for the tinted cells. Beside a test, the Tests button can show the Classification check alone.
To write a rule of your own:
- Open IDS editor in the top bar. To see the systems the model carries, load the model first with the IFC model line of the field at the top: the System field then lists the model's systems with the number of elements that have each. When at least nine in ten elements are classified, the editor also suggests a Classification rule that you add with one click.
- In the top row of the table, click the heading of the Property set cell and choose Classification. Type the system, pick one of the model's, or leave it empty for any system.
- Choose the elements in Applies to. In Value, leave the code empty for any code, or choose Equals, One of, Starts with, Contains or Pattern and write the codes. Keep Need on Required.
- Choose Add rule. When the line under the field says IDS 1.0 valid, choose Download IDS and keep the
.idsfile. - Open Check, drop the
.ifcfiles and the.idsfile on the IFC Checker mark, pick your IDS under Tests and choose Run checker.
To write the rule, see How do I write an IDS in the IDS editor? and How do I write and change rules?. The steps of a check, with several models in one, are in How do I check an IFC model?. To send the failures back as issues, see How do you turn IDS check failures into BCF issues?.
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.