ODA Product: | IFC SDK |
Sample Name: | ExIfcDump |
Categories: | C++ / Beginner / Dumping IFC Files / Linux, macOS, Windows |
Source Code Location: | Ifc/Examples/ExIfcDump |
The ExIfcDump example is a sample application that reads content from a specified .ifc file or from a collection of .ifc files located in a specified directory. For each correctly loaded file, the application writes statistics about the file and its entities to a specified text file.
The application can gather statistics only about .ifc files with a specified schema version
(defined with the schema version
parameter).
To run the ExIfcDump
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.
ExIfcDump <source filename/start directory> <target dump filename> [<schema version>]
source filename/start directory
|
The full name of a separate .ifc file that contains content to be dumped, or a folder path that defines the initial directory that contains .ifc files to be dumped. |
target dump filename
|
The name of the resulting file that contains collected statistics for dumped .ifc files. |
schema version
|
An optional parameter that determines the version of the schema of .ifc files that should be dumped.
This parameter can accept one of the following values (case insensitive):
|
This picture shows the application output when the command is not correct (a), the resulting output after the application correctly finishes (b), and the output text file with the dump result (c).
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.
|