Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
ExIfcCDAWalker Sample Application

Summary

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

Description

The ExIfcCDAWalker is a sample application that walks along the Common Data Access tree built from a specified .ifc file, and prints information about nodes, which were visited during the tree traversal.

Run Sample Application

To run the ExIfcCDAWalker 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:
    
                ExIfcCDAWalker <filename>
              
    filename The full path to the input .ifc file.

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):

See Also

IFC SDK Sample Applications

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