Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
ExIfc2Obj Sample Application

Summary

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

Description

The ExIfc2Obj sample application illustrates exporting IFC model data to an OBJ file. This application uses the Components/ObjToolkit module.

Run the Sample Application

To run the ExIfc2Obj sample application:

  1. Open a terminal window and go to the directory where the sample binary file is located:
    • For Microsoft® Windows® platforms: <IFC_DIR>\exe\<version>
    • For non-Windows platforms: <IFC_DIR>/bin/<version>

    <IFC_DIR> is the 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 the appropriate parameters:
                
    ExIfc2Obj <ifc_filename> [obj_filename]
                
              
    ifc_filename Full path to the IFC or IFCZIP file to be exported.
    obj_filename Full path to an output OBJ file name to be created as a result of the export operation (optional).

See Also

IFC SDK Sample Applications

Compile Sample Applications

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