Selecting Generate Parameters

The generate parameters are selected on the Generate tab of the Codegen editor.

Generate tab

Parameters to Code Generation

The generate parameters consist of:

Model File

The model file can be selected using the Browse button next to the Model File text field. Navigate to the desired .opendds model file and hit OK.

In order to generate code for a model, the model is required to have a non-blank model name.

Target Directory

The target directory can be selected using the Browse button next to the Target Directory text field. Navigate to the desired generation directory and hit OK.

The code generator will create the target directory if it does not exist. However, the Target Selection dialog has no interface for creating a directory. In this case, the target directory can be typed into the Target Directory text box.

Generation Buttons

Also on the Generate tab are a series of Generate buttons. These buttons are used to generate the various output files.

Next to each generate button is the name of the file it will generate, based upon the model name.

Generate All Button

The generate all button is a shortcut for hitting each generate button.