Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
ExIfcModelValidator Sample Application

Summary

ODA Product: IFC SDK
Sample Name: ExIfcModelValidator
Source Code Location: Ifc/Examples/ExIfcModelValidator

Description

The ExIfcModelValidator example is a sample application that explores the content of a model and its instances, checking whether their contain violations of validation constraints, prints notifications to the console window, and generates text and HTML files, which contains the results the validation check and error fixes.

Run Sample Application

To run the ExIfcModelValidator sample application, please do the following:

  1. Open the terminal window and go to the directory where the sample binary file is allocated:
    • For Windows® platforms: <IFC_DIR>\exe\<version>
    • For Non-Windows platforms: <IFC_DIR>/bin/<version>

    <IFC_DIR> is a directory where you unpacked the IFC SDK archive.

    To determine your <version> parameter, please see the appropriate section in the Download IFC SDK topic.

  2. Run the sample with appropriate parameters:
    
                ExIfcModelValidator <target filename>
              
    target filename The full path to the .ifc file to be validated.

This picture shows the application output after it correctly finishes.

The picture below illustrates an example of the console output in the case when the application run incorrectly (for example, without specifying input parameters):

The content of the created log file is represented at the followed image:

See Also

IFC SDK Sample Applications

Copyright © 2002 – 2022. Open Design Alliance. All rights reserved.