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

Summary

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

Description

The ExBcfLoadFile example is a sample application that loads a specified BCF file, dumps its content to the console window, and rewrites it into a duplicate BCF file.

Run Sample Application

To run the ExBcfLoadFile 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:
    
    ExBcfLoadFile <filename> <outfilename> [workfolder]
              
    filename A BCF archive to open.
    outfilename A full path to the duplicate BCF file. The application writes the content of the input BCF file to the file allocated in the specified path.
    workfolder An optional parameter that contains the work folder for the BCF archive content.

See Also

IFC SDK Sample Applications

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