ODA Product: | IFC SDK |
Sample Name: | ExIfcFileGenerator |
Source Code Location: | Ifc/Examples/ExIfcFileGenerator |
The ExIfcFileGenerator example is a sample application that creates a new .ifc file and fills it with content according to a specified executed scenario.
To run the ExIfcFileGenerator
sample application:
<IFC_DIR>\exe\<version>
<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.
ExIfcFileGenerator <parameters>
The example supports several sets of input parameters:
|
Prints all available scenarios. |
|
Runs a specified scenario one time.
number — the index of the scenario to run.
filename — the name of the output file.
|
|
Runs a specified scenario one time.
name — the name of the scenario to run.
filename — the name of the output file.
|
|
Runs all available scenarios.
path — the full path to a folder where the output .ifc files should be written.
|
The picture above shows the application output when it runs correctly.
The picture below illustrates an example of the console output when the application runs incorrectly (for example, without specifying input parameters):
Copyright © 2002 – 2021. Open Design Alliance. All rights reserved.
|