ODA Product: | IFC SDK |
Sample Name: | ExIfcReadFile |
Categories: | C++ / Beginner / Reading IFC Files / Linux, macOS, Windows |
Source Code Location: | Ifc/Examples/ExIfcReadFile |
The ExIfcReadFile sample application reads a specified .ifc file and fills a newly created database with its contents.
To run the OdIfcReadFile
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.
OdIfcReadFile <filename>
filename
|
A full path to an .ifc file name to be read. |
This picture shows the application output when the command is not correct (a) and the resulting output after the application correctly finishes (b).
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.
|