VR-Link C# API Documentation
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
7.2 - Starting the VR-Link Code Generator

Table of Contents

7.2.1 The VR-Link Code Generator Command Line

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:

./bin64/vrlCodeGenerator [-M] [-p <string>] [-I <string>] [-P <string>] [-F <string>] [-O <string>] [-A] [-G] [–] [-v] [-h]

Where:

-M, –includeMim Include HLA Standard MIM in Generation.
-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.2 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.

The VR-Link Code Generator can be launced directly from the VR-Link bin64 directory or from the Start Menu on Windows systems.

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


Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)