ODA Product: | IFC SDK |
Sample Name: | ExIfcExtractData |
Source Code Location: | Ifc/Examples/ExIfcExtractData |
The ExIfcExtractData example is a sample application that creates a file with all data that is contained in the Schema class of the selected schema module. The example uses the C++ Data Access Interface (DAI) for reading the contents of the IFC file.
To run the ExIfcExtractData
sample application:
<IFC_DIR>\exe\<version>
<IFC_DIR>/bin/<version>
<IFC_DIR>
is the directory where you unpacked the IFC SDK archive.
To determine your <version>
parameter, please see the
appropriate section
in the Download IFC SDK topic.
ExIfcExtractData <target filename>
target filename
|
The full path to the IFC4x2 file to be created. |
The picture above shows the application output after it correctly finishes.
The picture below illustrates an example of the console output when the application runs incorrectly (for example, without specifying input parameters):
The content of the created file is shown below.
Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.
|