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

Summary

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

Description

The ExIfc2Obj sample application illustrates the process of exporting IFC model data into a .obj file. This application uses the Components/ObjToolkit module.

Run Sample Application

To run the ExIfc2Obj 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:
                
    ExIfc2Obj <ifc_filename> [obj_filename]
                
              
    ifc_filename A full path to a .ifc or a .ifczip file to be exported.
    obj_filename A full path to an output .obj file name to be created as a result of the export operation (optional).

See Also

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