Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
ExIfcSchemaDump Sample Application

Summary

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

Description

The ExIfcSchemaDump example is a sample application that creates a file that contains data about all entities and datatypes from a specified schema version.

Run Sample Application

To run the ExIfcSchemaDump 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:
    
                ExIfcSchemaDump <target_dump_filename> <schema_version>
              
    target_dump_filename The full path to the output file with information about the schema to be created.
    schema_version Schema version. This parameter can accept the following values:
    • Ifc2x3
    • Ifc4
    • Ifc4x2

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.