VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
7.2 - Starting the VR-Link Code Generator

Table of Contents

You can start the VR-Link Code Generator from the command line, from a script or batch file, or from the Windows Start menu.

If you use a Windows shortcut, the VR-Link Code Generator must be run from the same directory that it is located in, because it looks for code template files relative to that directory.

The command-line syntax is:

./bin/vrlcodegenerator [-p <string>] [-I <string>] [-P <string>] [-F <string>] [-O <string>] [-A] [-G] [–] [-v] [-h]

Where:

-p <string>, –classPrefix <string> Specifies a prefix for generated class names.
-I <string>, –includeDir <string> Specifies the include directory for generated code.
-P <string>, –project <string> Specifies the project file.
-F <string>, –fomDefFile <string> Specifies a FOM definition file (accepted multiple times).
-O <string>, –outputDir <string> Specifies the output directory for generated code.
-A, –all Specifies to generate all objects in the FOM definition.
-G, –generate Performs file generation without opening the GUI (requires FOM definition, output directory, and 'all' flag to be set).
–, –ignore_rest Ignores the rest of the labeled arguments following this flag.
-v, –version Displays version information and exits.
-h, –help Displays usage information and exits.

7.2.1 The VR-Link Code Generator Window

The VR-Link Code Generator window has two panes (Code Generator Window). Objects and interactions contained in the FOM definition file are listed in the left pane. Objects and interactions for which code will be generated are listed in the right pane.

[<< Introduction to the Code Generator] [Home] [Code Generator Projects >>]


Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)