Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
ExBcf_2_1LoadFile Sample Application

Summary

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

Description

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

Run Sample Application

To run the ExBcf_2_1LoadFile 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:
    
    ExBcf_2_1LoadFile <filename> <outfilename> [workfolder]
              
    filename A BCF 2.1 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 2.1 archive content.

See Also

IFC SDK Sample Applications

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