ODA Product: | IFC SDK |
Sample Name: | ExIfcModelValidator |
Source Code Location: | Ifc/Examples/ExIfcModelValidator |
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.
To run the ExIfcModelValidator
sample application, please do the following:
<IFC_DIR>\exe\<version>
<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.
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:
Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.
|