IFC CheckerClash Engine
Language: English

How do you validate an IFC model?

Validating an IFC model means two things: checking that the file itself is sound, so that it opens and follows the IFC schema, and checking that it carries the information the project asked for, which an IDS file writes down. A checker reports, element by element, what passed, what failed and what stayed Untested. In IFC Checker, Model health checks the file and an IDS or a predefined test checks the information, in one run.

Two things to validate

  • The file. Is it a sound IFC file? Every record can be read, and the entities and values follow the IFC schema the file names. Without this, tools may read the same file differently.
  • The information. Does the model carry what the project asked for: the properties, classifications and materials a client needs on the elements they apply to? An IDS file, the buildingSMART standard for writing requirements down, states it. What is IDS? explains the format.

A sound file can still miss the information, and a model can hold every value in a file that breaks the schema. Validating a model takes both.

What validating the file covers

In IFC Checker the file is checked by Model health, apart from any IDS. It has three checks:

  • File integrity: whether every record of the file can be read and, where one cannot, why and where. It also recognises a file that is not an IFC file at all, such as a ZIP archive, a saved web page or an ifcXML file.
  • Schema conformance: whether the entities and their attribute values match the IFC schema named in the file's header, and a chosen set of the schema's own rules. Not every rule of the schema is checked.
  • Geometry: whether every element that should have a shape has one in 3D.

Each issue a check finds is an error or a warning, and it says where: a line and a record of the file, or the whole model. A check with an error does not pass. Errors and warnings never change the Model Correctness Index.

Validating the information

The information is validated against the IDS: a checker reads the model and the IDS file and tests every element the requirements apply to. How do you check an IFC model against IDS requirements? goes through it.

What a good result tells you

A list of issues is not yet a result. A good result answers three questions.

  • Is the file sound? Model health says Pass, or lists each issue with its place in the file. When the file could be read only in part, IFC Checker withholds the Model Correctness Index, because part of the model could not be checked.
  • What was tested? In the IDS check every element is Pass, Fail or Untested. An element that no requirement applies to is Untested, never Pass, so a model can show no failures because little of it was tested.
  • What failed, and where? One row per element, with only the failing value marked. On the sample model, IFC Checker's sample checks give 0.79, with 1,219 of 1,245 elements tested.

A result records what was tested. It does not vouch for what no check reached.

Validate a model in IFC Checker

IFC Checker is built for reviewing the information in IFC models. Model health validates the file and an IDS validates the information, in the same run.

  1. Open Check in the top bar.
  2. Drop the .ifc files on the IFC Checker mark, or click the mark and choose them. To validate against your own IDS, add the .ids file with them in the same way. Without a model of your own, choose Try the sample model.
  3. Keep Model health ticked to validate the file. Under Tests, pick your IDS, or a predefined test and its stage, to validate the information as well. With no test picked, only the file is checked.
  4. Choose Run checker. Results opens and shows the check while it runs.
  5. Read the Model health column of the Model table first, then the Model Correctness Index and the counts under it, untested, failed and passed, then the result of every element.

What each Model health check looks at is in What does Model health check?, and each step, with several models in one check, in How do I check an IFC model?.

Try it

Add an IFC model or try the sample model, choose a test and run the check. No account or e-mail address is needed.

Check a model