ODA IFC SDK Developer's Guide > Get Started with IFC SDK > IFC SDK Sample Applications > ExIfc4SpatialStructureDump Sample Application
ExIfc4SpatialStructureDump Sample Application

Summary

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

Description

This application dumps the spatial structure data of the IFC4 model into the console window or into a specified file through the early binding mechanism.

Run Sample Application

To run the ExIfc4SpatialStructureDump 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:
    
                ExIfc4SpatialStructureDump <target dump filename> [<output filename>]
              
    target dump filename The full path to the target file to be dumped.
    output filename The full path to the output file with dumping information.

This picture shows the application output when if was correctly run.

The picture below illustrates the example console output in the case when it was run incorrectly.

See Also

IFC SDK Sample Applications

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